com.espertech.esper.epl.spec
Class PluggableObjectCollection

java.lang.Object
  extended by com.espertech.esper.epl.spec.PluggableObjectCollection

public class PluggableObjectCollection
extends java.lang.Object

Repository for pluggable objects of different types that follow a "namespace:name" notation.


Constructor Summary
PluggableObjectCollection()
          Ctor.
 
Method Summary
 void addObject(java.lang.String namespace, java.lang.String name, java.lang.Class clazz, PluggableObjectType type)
          Add a single object to the collection.
 void addObject(java.lang.String namespace, java.lang.String name, java.lang.Class clazz, PluggableObjectType type, java.io.Serializable configuration)
          Add a single object to the collection also adding additional configuration.
 void addObjects(PluggableObjectCollection other)
          Add the plug-in objects for another collection.
 void addPatternObjects(java.util.List<ConfigurationPlugInPatternObject> configPattern)
          Add a plug-in pattern object.
 void addViews(java.util.List<ConfigurationPlugInView> configurationPlugInViews, java.util.List<ConfigurationPlugInVirtualDataWindow> configurationPlugInVirtualDW)
          Add a plug-in view.
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,Pair<java.lang.Class,PluggableObjectEntry>>> getPluggables()
          Returns the underlying nested map of namespace keys and name-to-object maps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluggableObjectCollection

public PluggableObjectCollection()
Ctor.

Method Detail

addViews

public void addViews(java.util.List<ConfigurationPlugInView> configurationPlugInViews,
                     java.util.List<ConfigurationPlugInVirtualDataWindow> configurationPlugInVirtualDW)
              throws ConfigurationException
Add a plug-in view.

Parameters:
configurationPlugInViews - is a list of configured plug-in view objects.
Throws:
ConfigurationException - if the configured views don't resolve

addPatternObjects

public void addPatternObjects(java.util.List<ConfigurationPlugInPatternObject> configPattern)
                       throws ConfigurationException
Add a plug-in pattern object.

Parameters:
configPattern - is a list of configured plug-in pattern objects.
Throws:
ConfigurationException - if the configured patterns don't resolve

addObjects

public void addObjects(PluggableObjectCollection other)
Add the plug-in objects for another collection.

Parameters:
other - is the collection to add

addObject

public void addObject(java.lang.String namespace,
                      java.lang.String name,
                      java.lang.Class clazz,
                      PluggableObjectType type)
Add a single object to the collection.

Parameters:
namespace - is the object's namespace
name - is the object's name
clazz - is the class the object resolves to
type - is the object type

addObject

public void addObject(java.lang.String namespace,
                      java.lang.String name,
                      java.lang.Class clazz,
                      PluggableObjectType type,
                      java.io.Serializable configuration)
Add a single object to the collection also adding additional configuration.

Parameters:
namespace - is the object's namespace
name - is the object's name
clazz - is the class the object resolves to
type - is the object type

getPluggables

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,Pair<java.lang.Class,PluggableObjectEntry>>> getPluggables()
Returns the underlying nested map of namespace keys and name-to-object maps.

Returns:
pluggable object collected

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