|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HASingletonControllerMBean
The namangement interface for the singleton controller service.
HASingletonMBean
Field Summary |
---|
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
javax.management.ObjectName |
getTargetName()
|
String |
getTargetStartMethod()
|
String |
getTargetStartMethodArgument()
|
String |
getTargetStopMethod()
|
String |
getTargetStopMethodArgument()
|
void |
setTargetName(javax.management.ObjectName targetObjectName)
Sets the fully qualified JMX MBean Object Name of the Schedulable MBean to be called. |
void |
setTargetStartMethod(String targetStartMethod)
Sets the start method name to be called on the Singleton MBean. |
void |
setTargetStartMethodArgument(String targetStartMethodArgument)
Sets the argument to be passed to the start method of the Singleton MBean. |
void |
setTargetStopMethod(String targetStopMethod)
Sets the stop method name to be called on the Singleton MBean. |
void |
setTargetStopMethodArgument(String targetStopMethodArgument)
Sets the argument to be passed to the stop method of the Singleton MBean. |
Methods inherited from interface org.jboss.ha.singleton.HASingletonMBean |
---|
isMasterNode |
Methods inherited from interface org.jboss.ha.jmx.HAServiceMBean |
---|
callMethodOnPartition, getDistributedState, getPartitionName, sendNotification, setDistributedState, setPartitionName |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
javax.management.ObjectName getTargetName()
void setTargetName(javax.management.ObjectName targetObjectName)
pTargetObjectName
- JMX MBean Object Name which should be called.
InvalidParameterException
- If the given value is an valid Object Name.String getTargetStartMethod()
void setTargetStartMethod(String targetStartMethod)
pTargetStartMethod
- Name of the start method to be called
InvalidParameterException
- If the given value is not of the right
formatString getTargetStartMethodArgument()
void setTargetStartMethodArgument(String targetStartMethodArgument)
pTargetStartMethodArgument
- Argument value to be passed to the start method
InvalidParameterException
- If the given value is not of the right
formatString getTargetStopMethod()
void setTargetStopMethod(String targetStopMethod)
pTargetStopMethod
- Name of the stop method to be calledString getTargetStopMethodArgument()
void setTargetStopMethodArgument(String targetStopMethodArgument)
pTargetStartMethodArgument
- Argument value to be passed to the stop method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |