net.esper.view
Class ViewResolutionServiceImpl
java.lang.Object
net.esper.view.ViewResolutionServiceImpl
- All Implemented Interfaces:
- ViewResolutionService
public class ViewResolutionServiceImpl
- extends Object
- implements ViewResolutionService
Resolves view namespace and name to view factory class, using configuration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewResolutionServiceImpl
public ViewResolutionServiceImpl(PluggableObjectCollection viewObjects)
- Ctor.
- Parameters:
viewObjects
- is the view objects to use for resolving views, can be both built-in and plug-in views.
create
public ViewFactory create(String nameSpace,
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 namespacename
- is the view name
- Returns:
ViewFactory
instance
- Throws:
ViewProcessingException
- if the view namespace or name cannot resolve