|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.BaseControl
flex.management.runtime.messaging.services.ServiceControl
public abstract class ServiceControl
The ServiceControl class is the MBean implementation for
monitoring and managing a Service at runtime.
| Field Summary |
|---|
| Fields inherited from class flex.management.BaseControl |
|---|
DOMAIN_PREFIX |
| Constructor Summary | |
|---|---|
ServiceControl(Service service,
BaseControl parent)
Constructs a ServiceControl, assigning its id, managed service and
parent MBean. |
|
| Method Summary | |
|---|---|
void |
addDestination(ObjectName value)
Adds the ObjectName of a destination registered with the managed service. |
ObjectName[] |
getDestinations()
Returns the ObjectNames of all destinations registered with the
managed service. |
String |
getId()
Returns the id for this MBean. |
Date |
getStartTimestamp()
Returns the start timestamp for the Service. |
Boolean |
isRunning()
Returns true if the Service is running. |
void |
preDeregister()
Implements javax.management.MBeanRegistration.preDeregister. |
void |
removeDestination(ObjectName value)
Removes the ObjectName of a destination registered with the managed service. |
| Methods inherited from class flex.management.BaseControl |
|---|
getApplicationId, getMBeanServer, getObjectName, getParent, getParentControl, getRegistrar, getType, postDeregister, postRegister, preRegister, register, setStartTimestamp, unregister |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface flex.management.BaseControlMBean |
|---|
getParent, getType |
| Constructor Detail |
|---|
public ServiceControl(Service service,
BaseControl parent)
ServiceControl, assigning its id, managed service and
parent MBean.
service - The Service managed by this MBean.parent - The parent MBean in the management hierarchy.| Method Detail |
|---|
public String getId()
BaseControlMBeanid key in the ObjectName for this MBean.
getId in interface BaseControlMBeangetId in class BaseControlpublic Boolean isRunning()
ServiceControlMBeantrue if the Service is running.
isRunning in interface ServiceControlMBeantrue if the Service is running.public void addDestination(ObjectName value)
ObjectName of a destination registered with the managed service.
value - The ObjectName of a destination registered with the managed service.public void removeDestination(ObjectName value)
ObjectName of a destination registered with the managed service.
value - The ObjectName of a destination registered with the managed service.public ObjectName[] getDestinations()
ServiceControlMBeanObjectNames of all destinations registered with the
managed service.
getDestinations in interface ServiceControlMBeanObjectNames of all destinations registered with the
managed service.public Date getStartTimestamp()
ServiceControlMBeanService.
getStartTimestamp in interface ServiceControlMBeanService.
public void preDeregister()
throws Exception
BaseControljavax.management.MBeanRegistration.preDeregister.
Allows the MBean to perform any operations needed after having been
unregistered in the MBean server. This base implementation is a no-op
that may be overridden.
preDeregister in interface MBeanRegistrationpreDeregister in class BaseControlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/management/runtime/messaging/services/ServiceControl.html