com.espertech.esper.view
Class ViewResolutionServiceImpl

java.lang.Object
  extended by com.espertech.esper.view.ViewResolutionServiceImpl
All Implemented Interfaces:
ViewResolutionService

public class ViewResolutionServiceImpl
extends java.lang.Object
implements ViewResolutionService

Resolves view namespace and name to view factory class, using configuration.


Constructor Summary
ViewResolutionServiceImpl(PluggableObjectRegistry viewObjects, java.lang.String optionalNamedWindowName, java.lang.Class virtualDataWindowViewFactory)
          Ctor.
 
Method Summary
 ViewFactory create(java.lang.String nameSpace, java.lang.String name)
          Instantiates a ViewFactory based on the view namespace and name stored in the view spec.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewResolutionServiceImpl

public ViewResolutionServiceImpl(PluggableObjectRegistry viewObjects,
                                 java.lang.String optionalNamedWindowName,
                                 java.lang.Class virtualDataWindowViewFactory)
Ctor.

Parameters:
viewObjects - is the view objects to use for resolving views, can be both built-in and plug-in views.
Method Detail

create

public ViewFactory create(java.lang.String nameSpace,
                          java.lang.String name)
                   throws ViewProcessingException
Description copied from interface: ViewResolutionService
Instantiates a ViewFactory based on the view namespace and name stored in the view spec.

Does not actually use the view factory object created.

Specified by:
create in interface ViewResolutionService
Parameters:
nameSpace - is the view namespace
name - is the view name
Returns:
ViewFactory instance
Throws:
ViewProcessingException - if the view namespace or name cannot resolve

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com