org.jboss.ha.singleton
Interface HASingletonControllerMBean

All Superinterfaces:
HAServiceMBean, HASingletonMBean, javax.management.NotificationBroadcaster, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
HASingletonController

public interface HASingletonControllerMBean
extends HASingletonMBean

The management interface for the singleton controller service.

Version:
$Revision: 1.3.8.2 $
Author:
Ivelin Ivanov, Scott Stark, Marcus Redeker, Dimitris Andreadis
See Also:
HASingletonMBean

Field Summary
 
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
 javax.management.ObjectName getTargetName()
          The controlled target Singleton MBean
 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 setTargetName(javax.management.ObjectName targetObjectName)
           
 void setTargetStartMethod(String targetStartMethod)
           
 void setTargetStartMethodArgument(String targetStartMethodArgument)
           
 void setTargetStopMethod(String targetStopMethod)
           
 void setTargetStopMethodArgument(String targetStopMethodArgument)
           
 
Methods inherited from interface org.jboss.ha.singleton.HASingletonMBean
isMasterNode
 
Methods inherited from interface org.jboss.ha.jmx.HAServiceMBean
callMethodOnPartition, getClusterPartition, getDistributedState, getPartitionName, sendNotification, setClusterPartition, 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

getTargetName

javax.management.ObjectName getTargetName()
The controlled target Singleton MBean


setTargetName

void setTargetName(javax.management.ObjectName targetObjectName)

getTargetStartMethod

String getTargetStartMethod()
The target method to call when the Singleton is started


setTargetStartMethod

void setTargetStartMethod(String targetStartMethod)

getTargetStartMethodArgument

String getTargetStartMethodArgument()
The argument to pass to the start method of the singleton MBean


setTargetStartMethodArgument

void setTargetStartMethodArgument(String targetStartMethodArgument)

getTargetStopMethod

String getTargetStopMethod()
The target method to call when the Singleton is stopped


setTargetStopMethod

void setTargetStopMethod(String targetStopMethod)

getTargetStopMethodArgument

String getTargetStopMethodArgument()
The argument to pass to the stop method of the singleton MBean


setTargetStopMethodArgument

void setTargetStopMethodArgument(String targetStopMethodArgument)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.