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(List<ConfigurationPlugInView> configurationPlugInViews)
throws ConfigurationException
- Ctor.
- Parameters:
configurationPlugInViews
- is the configured plug-in views
- Throws:
ConfigurationException
- when plug-in views cannot be solved
create
public ViewFactory create(ViewSpec spec)
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:
spec
- contains view name and namespace
- Returns:
ViewFactory
instance
- Throws:
ViewProcessingException
- if the view namespace or name cannot resolve