|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HASingletonControllerMBean
The management interface for the singleton controller service.
HASingletonMBean
Field Summary |
---|
Fields inherited from interface org.jboss.ha.framework.interfaces.HASingleton |
---|
HASINGLETON_STARTED_NOTIFICATION, HASINGLETON_STARTING_NOTIFICATION, HASINGLETON_STOPPED_NOTIFICATION, HASINGLETON_STOPPING_NOTIFICATION |
Fields inherited from interface org.jboss.ha.singleton.HASingletonMBean |
---|
HASINGLETON_STARTED_NOTIFICATION, HASINGLETON_STARTING_NOTIFICATION, HASINGLETON_STOPPED_NOTIFICATION, HASINGLETON_STOPPING_NOTIFICATION |
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 | |
---|---|
Object |
getTarget()
Gets controlled target singleton |
ObjectName |
getTargetName()
Deprecated. use getTarget() |
String |
getTargetStartMethod()
The target method to call when the Singleton is started |
String |
getTargetStartMethodArgument()
The argument to pass to the start method of the singleton MBean |
String |
getTargetStopMethod()
The target method to call when the Singleton is stopped |
String |
getTargetStopMethodArgument()
The argument to pass to the stop method of the singleton MBean |
void |
setTarget(Object target)
Sets the controlled target singleton |
void |
setTargetName(ObjectName targetObjectName)
Deprecated. use setTarget(Object) |
void |
setTargetStartMethod(String targetStartMethod)
|
void |
setTargetStartMethodArgument(String targetStartMethodArgument)
|
void |
setTargetStopMethod(String targetStopMethod)
|
void |
setTargetStopMethodArgument(String targetStopMethodArgument)
|
Methods inherited from interface org.jboss.ha.framework.interfaces.HASingleton |
---|
getElectionPolicy, getRestartOnMerge, setElectionPolicy, setRestartOnMerge |
Methods inherited from interface org.jboss.ha.framework.interfaces.HAService |
---|
create, destroy, getServiceHAName, isRegisterThreadContextClassLoader, setHAPartition, setRegisterThreadContextClassLoader, setServiceHAName, start, stop |
Methods inherited from interface org.jboss.ha.framework.interfaces.HAServiceKeyProvider |
---|
getHAPartition, getHAServiceKey |
Methods inherited from interface org.jboss.ha.framework.interfaces.EventListener |
---|
handleEvent |
Methods inherited from interface org.jboss.ha.jmx.HAServiceMBean |
---|
callMethodOnPartition, getDistributedState, getPartitionName, sendNotification, setClusterPartition, setDistributedState, setHAPartition |
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 |
Methods inherited from interface org.jboss.ha.framework.interfaces.HASingletonMBean |
---|
isMasterNode |
Methods inherited from interface org.jboss.ha.framework.interfaces.HASingletonLifecycle |
---|
startSingleton, stopSingleton |
Method Detail |
---|
void setTarget(Object target)
Object getTarget()
null
if this object is
configured to use a
JMX object name
.ObjectName getTargetName()
getTarget()
null
if this object is
configured via setTarget(Object)
.void setTargetName(ObjectName targetObjectName)
setTarget(Object)
targetObjectName
- target of the MBean singletonString getTargetStartMethod()
void setTargetStartMethod(String targetStartMethod)
String getTargetStartMethodArgument()
void setTargetStartMethodArgument(String targetStartMethodArgument)
String getTargetStopMethod()
void setTargetStopMethod(String targetStopMethod)
String getTargetStopMethodArgument()
void setTargetStopMethodArgument(String targetStopMethodArgument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |