|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.server.ComponentManager
The component manager is responsible for initialization of all components and for enabling and disabling components.
Field Summary | |
protected java.util.Hashtable |
componentTable
|
Constructor Summary | |
ComponentManager()
RegistryManager constructor comment. |
Method Summary | |
void |
deleteComponent(java.lang.String aComponentName)
deletes a component given the name. |
void |
destroy()
Refresh cache of registry information of all the registry entries in the hashtable. |
void |
destroyComponent(java.lang.String aComponent)
destroys a component given the name. |
void |
disableComponent(java.lang.String aComponentName)
Disables a component given the name. |
void |
enableComponent(java.lang.String aComponentName)
Re-enable a component that has been disabled or a compoent that has never been enabled. |
ComponentConfiguration |
getComponent(java.lang.String aComponentName)
Gets an instance of the component given the component name |
int |
getComponentHashcode(java.lang.String aComponentName)
Gets the hashcode of a component. |
boolean |
getComponentStatus(java.lang.String aComponentName)
Return the status of a component given the component name |
int |
getSize()
Gets the size of table. |
void |
initComponent(ComponentDescriptor desc)
Initalize a component given a component descriptor. |
void |
initComponent(org.w3c.dom.Element node)
Initalize a component given a component node from the configuration file. |
void |
initComponent(java.lang.String aComponentName)
Initalize a component given a component given name. |
void |
initialize()
Initialize the component manager |
java.util.Enumeration |
list()
List all the components maintained by the component manager. |
static ComponentManager |
singleton()
Gets an instance of the component given the component name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable componentTable
Constructor Detail |
public ComponentManager()
Method Detail |
public void deleteComponent(java.lang.String aComponentName) throws java.lang.Exception
name
- String - name of component to be deletedpublic void destroy()
public void destroyComponent(java.lang.String aComponent)
name
- String - name of component to be destroyed.public void disableComponent(java.lang.String aComponentName) throws java.lang.Exception
name
- String - name of component to be disabled.public void enableComponent(java.lang.String aComponentName) throws java.lang.Exception
aComponentName
- String - name of the componentpublic ComponentConfiguration getComponent(java.lang.String aComponentName)
aComponentName
- String name of the component.public int getComponentHashcode(java.lang.String aComponentName)
aComponentName
- String name of the component.public boolean getComponentStatus(java.lang.String aComponentName)
aComponentName
- String name of the component.public int getSize()
public void initComponent(ComponentDescriptor desc) throws java.lang.Exception
java.lang.Exception
- public void initComponent(org.w3c.dom.Element node) throws java.lang.Exception
java.lang.Exception
- public void initComponent(java.lang.String aComponentName) throws java.lang.Exception
java.lang.Exception
- public void initialize() throws java.lang.Exception
java.lang.Exception
- public java.util.Enumeration list()
public static ComponentManager singleton()
aComponentName
- String name of the component.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |