org.jboss.ha.singleton
Interface HASingletonControllerMBean

All Superinterfaces:
HAServiceMBean (src) , HASingletonMBean (src) , NotificationBroadcaster (src) , Service (src) , ServiceMBean (src)
All Known Implementing Classes:
HASingletonController (src)

public interface HASingletonControllerMBean
extends HASingletonMBean (src)

The namangement interface for the singleton controller service.

See Also:
HASingletonMBean (src)

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 ObjectName (src) getTargetName()
           
 java.lang.String getTargetStartMethod()
           
 java.lang.String getTargetStartMethodArgument()
           
 java.lang.String getTargetStopMethod()
           
 java.lang.String getTargetStopMethodArgument()
           
 void setTargetName(ObjectName (src)  targetObjectName)
          Sets the fully qualified JMX MBean Object Name of the Schedulable MBean to be called.
 void setTargetStartMethod(java.lang.String targetStartMethod)
          Sets the start method name to be called on the Singleton MBean.
 void setTargetStartMethodArgument(java.lang.String targetStartMethodArgument)
          Sets the argument to be passed to the start method of the Singleton MBean.
 void setTargetStopMethod(java.lang.String targetStopMethod)
          Sets the stop method name to be called on the Singleton MBean.
 void setTargetStopMethodArgument(java.lang.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 (src)
isMasterNode
 
Methods inherited from interface org.jboss.ha.jmx.HAServiceMBean (src)
callMethodOnPartition, getDistributedState, getPartitionName, sendNotification, setDistributedState, setPartitionName
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 
Methods inherited from interface javax.management.NotificationBroadcaster (src)
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getTargetName

public ObjectName (src)  getTargetName()
Returns:
Object Name of the Target MBean for the timer notifications

setTargetName

public void setTargetName(ObjectName (src)  targetObjectName)
Sets the fully qualified JMX MBean Object Name of the Schedulable MBean to be called.

Throws:
InvalidParameterException - If the given value is an valid Object Name.

getTargetStartMethod

public java.lang.String getTargetStartMethod()
Returns:
start method description of the target MBean to be called

setTargetStartMethod

public void setTargetStartMethod(java.lang.String targetStartMethod)
Sets the start method name to be called on the Singleton MBean.

Throws:
InvalidParameterException - If the given value is not of the right format

getTargetStartMethodArgument

public java.lang.String getTargetStartMethodArgument()
Returns:
start method argument of the target MBean to be called

setTargetStartMethodArgument

public void setTargetStartMethodArgument(java.lang.String targetStartMethodArgument)
Sets the argument to be passed to the start method of the Singleton MBean.

Throws:
InvalidParameterException - If the given value is not of the right format

getTargetStopMethod

public java.lang.String getTargetStopMethod()
Returns:
stop method description of the target MBean to be called

setTargetStopMethod

public void setTargetStopMethod(java.lang.String targetStopMethod)
Sets the stop method name to be called on the Singleton MBean.


getTargetStopMethodArgument

public java.lang.String getTargetStopMethodArgument()
Returns:
stop method argument of the target MBean to be called

setTargetStopMethodArgument

public void setTargetStopMethodArgument(java.lang.String targetStopMethodArgument)
Sets the argument to be passed to the stop method of the Singleton MBean.