org.jboss.system
Interface BarrierControllerMBean

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

public interface BarrierControllerMBean
extends ListenerServiceMBean

BarrierController service interface

Version:
$Revision: 81033 $
Author:
Dimitris Andreadis, Scott.Stark@jboss.org

Field Summary
 
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()
           
 ObjectName getBarrierObjectName()
           
 String getBarrierStateString()
          The controlled barrier StateString
 Boolean getDynamicSubscriptions()
           
 String getStartBarrierHandback()
           
 String getStopBarrierHandback()
           
 void setBarrierEnabledOnStartup(Boolean enableOnStartup)
          The initial state of the barrier
 void setBarrierObjectName(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
 

Method Detail

getBarrierStateString

String getBarrierStateString()
The controlled barrier StateString


setBarrierObjectName

void setBarrierObjectName(ObjectName barrierName)
The controlled barrier ObjectName


getBarrierObjectName

ObjectName getBarrierObjectName()

setBarrierEnabledOnStartup

void setBarrierEnabledOnStartup(Boolean enableOnStartup)
The initial state of the barrier


getBarrierEnabledOnStartup

Boolean getBarrierEnabledOnStartup()

setStartBarrierHandback

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


getStartBarrierHandback

String getStartBarrierHandback()

setStopBarrierHandback

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


getStopBarrierHandback

String getStopBarrierHandback()

setDynamicSubscriptions

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


getDynamicSubscriptions

Boolean getDynamicSubscriptions()

startBarrier

void startBarrier()
Manually start the controlled barrier


stopBarrier

void stopBarrier()
Manually stop the controlled barrier



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.