|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.definition.impl.RegistryDefinitionImpl
public class RegistryDefinitionImpl
Default implementation of RegistryDefinition
.
Constructor Summary | |
---|---|
RegistryDefinitionImpl()
|
Method Summary | |
---|---|
void |
addModule(ModuleDefinition module)
Adds a module definition. |
void |
addPostProcessor(RegistryDefinitionPostProcessor postProcessor)
Adds a RegistryDefinitionPostProcessor . |
void |
addRegistryInitializationListener(RegistryInitializationListener listener)
Adds a RegistryInitializationListener which is called after the
construction of the registry. |
ConfigurationPointDefinition |
getConfigurationPoint(java.lang.String qualifiedConfigurationPointId)
Returns a configuration point that is identified by its id. |
ModuleDefinition |
getModule(java.lang.String id)
Returns a module that is identified by its module id. |
java.util.Collection |
getModules()
|
java.util.List |
getPostProcessors()
|
java.util.List |
getRegistryInitializationListeners()
|
ServicePointDefinition |
getServicePoint(java.lang.String qualifiedServicePointId)
Returns a service point that is identified by its id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryDefinitionImpl()
Method Detail |
---|
public void addModule(ModuleDefinition module) throws ApplicationRuntimeException
RegistryDefinition
addModule
in interface RegistryDefinition
module
- the module
ApplicationRuntimeException
- if another module with the same id already exists.RegistryDefinition.addModule(org.apache.hivemind.definition.ModuleDefinition)
public void addPostProcessor(RegistryDefinitionPostProcessor postProcessor)
RegistryDefinition
RegistryDefinitionPostProcessor
. The processor is called after all
module definitions have been processed.
addPostProcessor
in interface RegistryDefinition
postProcessor
- the processorRegistryDefinition.addPostProcessor(org.apache.hivemind.definition.RegistryDefinitionPostProcessor)
public java.util.List getPostProcessors()
getPostProcessors
in interface RegistryDefinition
RegistryDefinitionPostProcessor
sRegistryDefinition.getPostProcessors()
public void addRegistryInitializationListener(RegistryInitializationListener listener)
RegistryDefinition
RegistryInitializationListener
which is called after the
construction of the registry.
addRegistryInitializationListener
in interface RegistryDefinition
listener
- the listenerRegistryDefinition.addRegistryInitializationListener(org.apache.hivemind.events.RegistryInitializationListener)
public java.util.List getRegistryInitializationListeners()
getRegistryInitializationListeners
in interface RegistryDefinition
RegistryInitializationListener
sRegistryDefinition.getRegistryInitializationListeners()
public java.util.Collection getModules()
getModules
in interface RegistryDefinition
modules
RegistryDefinition.getModules()
public ModuleDefinition getModule(java.lang.String id)
RegistryDefinition
getModule
in interface RegistryDefinition
id
- the module id
RegistryDefinition.getModule(java.lang.String)
public ServicePointDefinition getServicePoint(java.lang.String qualifiedServicePointId)
RegistryDefinition
getServicePoint
in interface RegistryDefinition
qualifiedServicePointId
- the fully qualified service point id
RegistryDefinition.getServicePoint(java.lang.String)
public ConfigurationPointDefinition getConfigurationPoint(java.lang.String qualifiedConfigurationPointId)
RegistryDefinition
getConfigurationPoint
in interface RegistryDefinition
qualifiedConfigurationPointId
- the fully qualified configuration point id
RegistryDefinition.getConfigurationPoint(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |