Package com.newstep.solid.management.runtime.component

 
Package Diagram Summary
component 
 
Class Summary
Component 
ComponentActiveAgent 
ComponentEnvironment 
ComponentErrorHandler 
ComponentErrorHandlerConfig 
ComponentLogger 
ComponentManager 
ComponentStateListener 
ShutDownThread 

 
Interface Summary
ComponentLoggerMBean 
ComponentManagerMBean 
Package Elements Detail
ComponentLoggerMBean
A manageable ComponentLogger.
Consider making this part of the ComponentManagerMBean interface.
Author:
msimonsen
 

 
Operation Summary
getLevelFinds the logging level given a pkgName.
Will perform a "best-effort" search to determine
the log level, even if a logger does not exist for
that particular package.
<strong>The logging heirarchy may not be in a consistent
logging state, since logging levels can be assigned arbitrary
</strong>
getLevelGets the component level logging.
setLevelSets the Level for a Logger with a given package Name.
setLevelSets the level for this Component.

getLevel
 
Finds the logging level given a pkgName.
Will perform a "best-effort" search to determine
the log level, even if a logger does not exist for
that particular package.
The logging heirarchy may not be in a consistent
logging state, since logging levels can be assigned arbitrary
Parameters:
pkgName
Return:
The level of this package Name, or the best approximation.
Abstract.
 

 
Parameter Summary
pkgName 
return 

pkgName
 

return
 

getLevel
 
Gets the component level logging.
Return:
The level of this ComponentLogger.
Abstract.
 

 
Parameter Summary
return 

return
 

setLevel
 
Sets the Level for a Logger with a given package Name.
Parameters:
pkgName
level
Abstract.
 

 
Parameter Summary
level 
pkgName 

level
 

pkgName
 

setLevel
 
Sets the level for this Component.
Parameters:
level
Abstract.
 

 
Parameter Summary
level 

level
 

ComponentManagerMBean
 

 
Operation Summary
getComponent 
getId 
getStatetransitions the ManagedExecutable from SUSPENDED to RUNNING. On return, the
ManagedExecutable will be in one of RESUMING or RUNNING states
depending on its nature. If the entity is asynchronous then the state
will return as RESUMING. The entity may be queried or may provide call
backs to indicate when it arrives in the RUNNING state. If the entity
is synchronous then it will transition directly from RESUMING to RUNNING.
<P>
resume may only be invoked on ManagedExecutables that are in the SUSPENDED state.
getStringStateThe string representation of the execution state.
<br/>
[to be used by default mbean client interfaces for
convenience]
shutdowntransitions the ManagedExecutable from its current state to
SHUTTINGDOWN which in turn will transition to IDLE. On return,
the entity will be in the SHUTTINGDOWN state.
<P>
shutdown may be invoked on ManagedExecutables that in the RUNNING or SUSPENDED state
starttransitions the ManagedExecutable from IDLE to RUNNING. On return, the
entity will be in one of STARTING or RUNNING depending on its nature. If
the entity is asynchronous then the state will return as STARTING. The
entity may be queried or may provide call backs to indicate when it
arrives in the RUNNING state. If the entity is synchronous then it will
transition directly from IDLE to RUNNING.
<P>
start may only be invoked on ManagedExecutables that are in the IDLE state.
stoptransitions the ManagedExecutable from its current state to IDLE. On return,
the entity will be in one of STOPPING or IDLE states depending on its
nature. If the entity is asynchronous then the state will return as
STOPPING while the entity terminates. Asynchronous entities may be
queried or may provide call backs to indicate when it arrives in the IDLE
state. If the entity is synchronous then it willtransition directly to
IDLE.
<P>
stop may be invoked on ManagedExecutables in any state

getComponent
 
Abstract.
 

 
Parameter Summary
return 

return
 

getId
 
Abstract.
 

 
Parameter Summary
return 

return
 

getState
 
transitions the ManagedExecutable from SUSPENDED to RUNNING. On return, the
ManagedExecutable will be in one of RESUMING or RUNNING states
depending on its nature. If the entity is asynchronous then the state
will return as RESUMING. The entity may be queried or may provide call
backs to indicate when it arrives in the RUNNING state. If the entity
is synchronous then it will transition directly from RESUMING to RUNNING.


resume may only be invoked on ManagedExecutables that are in the SUSPENDED state.

Abstract.
 

 
Parameter Summary
return 

return
 

getStringState
 
The string representation of the execution state.


[to be used by default mbean client interfaces for
convenience]
Return:
The string representation of {@link ExecState}
Abstract.
 

 
Parameter Summary
return 

return
 

shutdown
 
transitions the ManagedExecutable from its current state to
SHUTTINGDOWN which in turn will transition to IDLE. On return,
the entity will be in the SHUTTINGDOWN state.


shutdown may be invoked on ManagedExecutables that in the RUNNING or SUSPENDED state

Abstract.
Throws:
ExecutableException
 

start
 
transitions the ManagedExecutable from IDLE to RUNNING. On return, the
entity will be in one of STARTING or RUNNING depending on its nature. If
the entity is asynchronous then the state will return as STARTING. The
entity may be queried or may provide call backs to indicate when it
arrives in the RUNNING state. If the entity is synchronous then it will
transition directly from IDLE to RUNNING.


start may only be invoked on ManagedExecutables that are in the IDLE state.

Abstract.
Throws:
ExecutableException
 

stop
 
transitions the ManagedExecutable from its current state to IDLE. On return,
the entity will be in one of STOPPING or IDLE states depending on its
nature. If the entity is asynchronous then the state will return as
STOPPING while the entity terminates. Asynchronous entities may be
queried or may provide call backs to indicate when it arrives in the IDLE
state. If the entity is synchronous then it willtransition directly to
IDLE.


stop may be invoked on ManagedExecutables in any state

Abstract.
Throws:
ExecutableException