com.newstep.solid.management.runtime.component
|
Class ComponentStateListener
|
public class ComponentStateListener
A ManagedExecutableListener that by default aggregrates directory
clients and notifies them of state changes.
Potentially break the ClientGroup out of this class. So it itself
becomes a listener to ManagedExecutable events.
Author:
msimonsen
Implements:
ManagedExecutableListener
Links:
Kernel Association Association Link
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
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 ManagedExecutableListener that by default aggregrates directory
clients and notifies them of state changes.
Potentially break the ClientGroup out of this class. So it itself
becomes a listener to ManagedExecutable events.
Author:
msimonsen
| Nested Class Summary |
class |
|
| Field Summary |
|
|
private final String |
|
private final Logger |
|
Map |
|
ReentrantLock |
|
private static String |
|
|
|
private static Logger |
|
private boolean |
|
| Constructor Summary |
public void |
|
| Method Summary |
void |
|
void |
|
void |
|
void |
|
void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Multiplicity:
1
private static String cName
Multiplicity:
1
Static.
Multiplicity:
1
private static Logger logger
Multiplicity:
1
Static.
private boolean standAloneMode
Multiplicity:
1
public void ComponentStateListener (Component component, Boolean standAloneMode)
Stereotype:
create
indicates the specified ManagedExecutable has reached the IDLE state
Parameters:
executable the ManagedExecutable whose state has changed
public void init (Collection clients)
public void init (String mseUrl)
Convenience method to initialize the client(s).
Parameters:
mseUrl
indicates the specified ManagedExecutable has reached the RESUMING state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the RUNNING state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the SHUTTINGDOWN state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the STARTING state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the STOPPING state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the SUSPENDED state
Parameters:
executable the ManagedExecutable whose state has changed
indicates the specified ManagedExecutable has reached the SUSPENDING state
Parameters:
executable the ManagedExecutable whose state has changed