public class PluggableObjectCollection extends Object
Constructor and Description |
---|
PluggableObjectCollection()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addObject(String namespace,
String name,
Class clazz,
PluggableObjectType type)
Add a single object to the collection.
|
void |
addObject(String namespace,
String name,
Class clazz,
PluggableObjectType type,
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(List<ConfigurationPlugInPatternObject> configPattern,
EngineImportService engineImportService)
Add a plug-in pattern object.
|
void |
addViews(List<ConfigurationPlugInView> configurationPlugInViews,
List<ConfigurationPlugInVirtualDataWindow> configurationPlugInVirtualDW,
EngineImportService engineImportService)
Add a plug-in view.
|
Map<String,Map<String,Pair<Class,PluggableObjectEntry>>> |
getPluggables()
Returns the underlying nested map of namespace keys and name-to-object maps.
|
public void addViews(List<ConfigurationPlugInView> configurationPlugInViews, List<ConfigurationPlugInVirtualDataWindow> configurationPlugInVirtualDW, EngineImportService engineImportService) throws ConfigurationException
configurationPlugInViews
- is a list of configured plug-in view objects.configurationPlugInVirtualDW
- virtual data window configsengineImportService
- engine importsConfigurationException
- if the configured views don't resolvepublic void addPatternObjects(List<ConfigurationPlugInPatternObject> configPattern, EngineImportService engineImportService) throws ConfigurationException
configPattern
- is a list of configured plug-in pattern objects.engineImportService
- engine importsConfigurationException
- if the configured patterns don't resolvepublic void addObjects(PluggableObjectCollection other)
other
- is the collection to addpublic void addObject(String namespace, String name, Class clazz, PluggableObjectType type)
namespace
- is the object's namespacename
- is the object's nameclazz
- is the class the object resolves totype
- is the object typepublic void addObject(String namespace, String name, Class clazz, PluggableObjectType type, Serializable configuration)
namespace
- is the object's namespacename
- is the object's nameclazz
- is the class the object resolves totype
- is the object typeconfiguration
- config