| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.management.runtime.component
public class ComponentManager
A Runtime administerable manager of a "Component" or a Component
subsystem.
Component.
This provides the default proxy mechanism that
the component must handle.
Author:
msimonsen
Implements:
ComponentManagerMBean
Links:
Kernel Association Association Link
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Implementation Implementation Link
A Runtime administerable manager of a "Component" or a Component
subsystem.
com.newstep.solid.management.runtime.component.Component.
This provides the default proxy mechanism that
the component must handle.
Author:
msimonsen
| Field Summary |
|
|
ObjectName |
|
private final static String |
|
|
|
boolean |
|
private Logger |
|
private ObjectName |
|
| Constructor Summary |
public void |
|
| Method Summary |
|
|
public String |
|
public String |
|
public ObjectName |
|
|
|
public String |
|
public boolean |
|
protected void |
|
public void |
|
public void |
|
public void |
|
private final static String className
Final.
Multiplicity:
1
Static.
Multiplicity:
1
boolean isRegistered
Multiplicity:
1
private Logger logger
Multiplicity:
1
ObjectName objectName
private ObjectName objectName
Multiplicity:
1
public void ComponentManager (Component component)
Each Component Manager MUST be associated with a Component.
Calling super(component)
for an extended ComponentManager constructor ensures this relationship.
Parameters:
component
Stereotype:
create
Return:
The managed component
public String getDomainName ()
Get the name of the component. This component is registered
under this domain name.
Return:
The component's manageable domain - corresponds to the
component's name
public String getId ()
The published manageable id of this component instance.
This can be over-ridden for better clarity for client lookup
purposes.
Return:
id
public ObjectName getObjectName ()
public String getStringState ()
public boolean isRegistered ()
protected void setComponent (Component component)
Set your component. This should have been done in the constructor however.
Parameters:
component
public void shutdown ()
Pass-thru of shutdown to component.
Throws:
ExecutableException
public void start ()
Pass-thru of start to component.
Throws:
ExecutableException
public void stop ()
Pass-thru of stop to component.
Throws:
ExecutableException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|