|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceControllerMBean
ServiceController MBean interface.
Service
Field Summary | |
---|---|
static javax.management.ObjectName |
OBJECT_NAME
The default ObjectName |
Method Summary | |
---|---|
void |
create(javax.management.ObjectName serviceName)
Create a service |
void |
create(javax.management.ObjectName serviceName,
Collection depends)
Create a service with given dependencies |
void |
destroy(javax.management.ObjectName serviceName)
Destroy the indicated service |
ServiceContext |
getServiceContext(javax.management.ObjectName serviceName)
Lookup the ServiceContext for the given serviceName |
List |
install(Element config,
javax.management.ObjectName loaderName)
Deploy the beans; deploy means "instantiate and configure" so the MBean is created in the MBeanServer. |
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 CREATED,
RUNNING, STOPPED or DESTROYED. |
void |
register(javax.management.ObjectName serviceName)
Register the mbean against the microkernel with no dependencies. |
void |
register(javax.management.ObjectName serviceName,
Collection depends)
Register the mbean against the microkernel with dependencies. |
void |
remove(javax.management.ObjectName objectName)
This MBean is going bye bye |
void |
restart(javax.management.ObjectName serviceName)
Stops and restarts the indicated service |
void |
setServiceBinding(ServiceBinding serviceBinding)
Plugin a ServiceBinding policy |
void |
shutdown()
Describe shutdown method here. |
void |
start(javax.management.ObjectName serviceName)
Starts the indicated service |
void |
stop(javax.management.ObjectName serviceName)
Stop the indicated 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 |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
void setServiceBinding(ServiceBinding serviceBinding)
serviceBinding
- policyList listDeployed()
List listIncompletelyDeployed()
listIncompletelyDeployed
method returns the
service contexts for the mbeans whose status is not CREATED,
RUNNING, STOPPED or DESTROYED. An MBean that has reached one
of the above states has its dependencies resolved.
List listDeployedNames()
String listConfiguration(javax.management.ObjectName[] objectNames) throws Exception
objectNames
- Description of Parameter
Exception
- Description of Exceptionvoid validateDeploymentState(DeploymentInfo di, DeploymentState state)
List install(Element config, javax.management.ObjectName loaderName) throws DeploymentException
config
- loaderName
-
DeploymentException
void register(javax.management.ObjectName serviceName) throws Exception
Exception
register(ObjectName, java.util.Collection)
void register(javax.management.ObjectName serviceName, Collection depends) throws Exception
Exception
void create(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid create(javax.management.ObjectName serviceName, Collection depends) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid start(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid restart(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid stop(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid destroy(javax.management.ObjectName serviceName) throws Exception
serviceName
- Description of Parameter
Exception
- Description of Exceptionvoid remove(javax.management.ObjectName objectName) throws Exception
objectName
- Description of Parameter
Exception
- Description of Exceptionvoid shutdown()
shutdown
method here.
ServiceContext getServiceContext(javax.management.ObjectName serviceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |