org.jboss.system
Interface BarrierControllerMBean

All Superinterfaces:
ListenerServiceMBean, Service, ServiceMBean
All Known Implementing Classes:
BarrierController

public interface BarrierControllerMBean
extends ListenerServiceMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Fields inherited from interface org.jboss.system.ListenerServiceMBean
SL_FILTER_ELEMENT, SL_FILTER_FACTORY_ATTRIBUTE, SL_MBEAN_ELEMENT, SL_MBEAN_HANDBACK_ATTRIBUTE, SL_MBEAN_NAME_ATTRIBUTE, SL_NOTIFICATION_ELEMENT, SL_NOTIFICATION_TYPE_ATTRIBUTE, SL_ROOT_ELEMENT
 
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
 Boolean getBarrierEnabledOnStartup()
          The initial state of the barrier.
 javax.management.ObjectName getBarrierObjectName()
          The controlled barrier ObjectName.
 String getBarrierStateString()
          The controlled barrier StateString.
 Boolean getDynamicSubscriptions()
          The ability to dynamically subscribe for notifications.
 String getStartBarrierHandback()
          The notification subscription handback string that starts the barrier.
 String getStopBarrierHandback()
          The notification subscription handback string that stops the barrier.
 void setBarrierEnabledOnStartup(Boolean enableOnStartup)
          The initial state of the barrier.
 void setBarrierObjectName(javax.management.ObjectName barrierName)
          The controlled barrier ObjectName.
 void setDynamicSubscriptions(Boolean dynamicSubscriptions)
          The ability to dynamically subscribe for notifications.
 void setStartBarrierHandback(String startHandback)
          The notification subscription handback string that starts the barrier.
 void setStopBarrierHandback(String stopHandback)
          The notification subscription handback string that stops the barrier.
 void startBarrier()
          Manually start the controlled barrier
 void stopBarrier()
          Manually stop the controlled barrier
 
Methods inherited from interface org.jboss.system.ListenerServiceMBean
setSubscriptionList
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getBarrierStateString

public String getBarrierStateString()
The controlled barrier StateString.


setBarrierObjectName

public void setBarrierObjectName(javax.management.ObjectName barrierName)
The controlled barrier ObjectName.


getBarrierObjectName

public javax.management.ObjectName getBarrierObjectName()
The controlled barrier ObjectName.


setBarrierEnabledOnStartup

public void setBarrierEnabledOnStartup(Boolean enableOnStartup)
The initial state of the barrier. If set, it overrides the internal call to enableOnStartup() which will never get called.


getBarrierEnabledOnStartup

public Boolean getBarrierEnabledOnStartup()
The initial state of the barrier. Use the value set through setBarrierEnabledOnStartup() otherwise call the internal enableOnStartup() override to make a decision.


setStartBarrierHandback

public void setStartBarrierHandback(String startHandback)
The notification subscription handback string that starts the barrier.


getStartBarrierHandback

public String getStartBarrierHandback()
The notification subscription handback string that starts the barrier.


setStopBarrierHandback

public void setStopBarrierHandback(String stopHandback)
The notification subscription handback string that stops the barrier.


getStopBarrierHandback

public String getStopBarrierHandback()
The notification subscription handback string that stops the barrier.


setDynamicSubscriptions

public void setDynamicSubscriptions(Boolean dynamicSubscriptions)
The ability to dynamically subscribe for notifications.


getDynamicSubscriptions

public Boolean getDynamicSubscriptions()
The ability to dynamically subscribe for notifications.


startBarrier

public void startBarrier()
Manually start the controlled barrier


stopBarrier

public void stopBarrier()
Manually stop the controlled barrier



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