public View makeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext)
{
EventBeanFactory factory = EventAdapterServiceHelper.getFactoryForType(parentEventType, agentInstanceViewFactoryContext.getAgentInstanceContext().getStatementContext().getEventAdapterService());
VirtualDataWindowOutStreamImpl outputStream = new VirtualDataWindowOutStreamImpl();
VirtualDataWindowContext context = new VirtualDataWindowContext(agentInstanceViewFactoryContext.getAgentInstanceContext(), parentEventType, viewParameterArr, viewParameterExp, factory, outputStream, namedWindowName, viewFactoryContext, customConfiguration);
VirtualDataWindow window;
try {
window = virtualDataWindowFactory.create(context);
}
catch (Exception ex) {
throw new ViewProcessingException("Exception returned by virtual data window factory upon creation: " + ex.getMessage(), ex);