|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean interface.
Service
Field Summary | |
static javax.management.ObjectName |
OBJECT_NAME
|
Method Summary | |
void |
create(javax.management.ObjectName serviceName)
#Description of the Method |
void |
create(javax.management.ObjectName serviceName,
Collection depends)
#Description of the Method |
void |
destroy(javax.management.ObjectName serviceName)
#Description of the Method |
List |
install(Element config,
javax.management.ObjectName loaderName)
Deploy the beans Deploy means "instantiate and configure" so the MBean is created in the MBeanServer You must call "create" and "start" separately on the MBean to affect the service lifecycle deploy doesn't bother with service lifecycle only MBean instanciation/registration/configuration |
String |
listConfiguration(javax.management.ObjectName[] objectNames)
Gets the Configuration attribute of the ServiceController object |
List |
listDeployed()
Lists the ServiceContexts of deployed mbeans |
List |
listDeployedNames()
lists ObjectNames of deployed mbeans deployed through serviceController. |
List |
listIncompletelyDeployed()
The listIncompletelyDeployed method returns the service contexts for the mbeans whose status is not RUNNING, and logs the string. |
void |
register(javax.management.ObjectName serviceName)
Register the mbean against the microkernel with no dependencies. |
void |
register(javax.management.ObjectName serviceName,
Collection depends)
|
void |
remove(javax.management.ObjectName objectName)
This MBean is going buh bye |
void |
restart(javax.management.ObjectName serviceName)
Stops and restarts the given service |
void |
shutdown()
Describe shutdown method here. |
void |
start(javax.management.ObjectName serviceName)
Starts the indicated service |
void |
stop(javax.management.ObjectName serviceName)
Stop the given service |
void |
validateDeploymentState(DeploymentInfo di,
DeploymentState state)
Go through the mbeans of the DeploymentInfo and validate that they are in a state at least equal to that of the argument state |
Field Detail |
public static final javax.management.ObjectName OBJECT_NAME
Method Detail |
public List listDeployed()
public List listIncompletelyDeployed()
listIncompletelyDeployed
method returns the service contexts for the mbeans whose status is not RUNNING, and logs the string.
List
valuepublic List listDeployedNames()
public String listConfiguration(javax.management.ObjectName[] objectNames) throws Exception
objectNames
- Description of Parameter
Exception
- Description of Exceptionpublic void validateDeploymentState(DeploymentInfo di, DeploymentState state)
public List install(Element config, javax.management.ObjectName loaderName) throws DeploymentException
config
- loaderName
-
DeploymentException
public void register(javax.management.ObjectName serviceName) throws Exception
Exception
register(ObjectName, java.util.Collection)
public void register(javax.management.ObjectName serviceName, Collection depends) throws Exception
Exception
public void create(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void create(javax.management.ObjectName serviceName, Collection depends) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void start(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void restart(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void stop(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void destroy(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionpublic void remove(javax.management.ObjectName objectName) throws Exception
objectName
- Description of Parameter
Exception
- Description of Exceptionpublic void shutdown()
shutdown
method here.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |