站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

XMLScheduleProviderMBean (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.varia.scheduler
Interface XMLScheduleProviderMBean

All Superinterfaces:
AbstractScheduleProviderMBean, org.jboss.ha.jmx.HAServiceMBean, org.jboss.ha.singleton.HASingletonMBean, javax.management.NotificationBroadcaster, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
XMLScheduleProvider

public interface XMLScheduleProviderMBean
extends AbstractScheduleProviderMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
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
 Element getSchedules()
           
 void setSchedules(Element pSchedules)
          Sets the XML configuration attribute
 void startProviding()
          Add the Schedule to the Schedule Manager
 void stopProviding()
          Stops the Provider from providing causing the provider to remove the Schedule
 
Methods inherited from interface org.jboss.varia.scheduler.AbstractScheduleProviderMBean
getScheduleManagerName, isHASingleton, setHASingleton, setScheduleManagerName
 
Methods inherited from interface org.jboss.ha.singleton.HASingletonMBean
isMasterNode
 
Methods inherited from interface org.jboss.ha.jmx.HAServiceMBean
callMethodOnPartition, getDistributedState, getPartitionName, sendNotification, 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
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getSchedules

public Element getSchedules()

setSchedules

public void setSchedules(Element pSchedules)
Sets the XML configuration attribute


startProviding

public void startProviding()
                    throws Exception
Add the Schedule to the Schedule Manager

Specified by:
startProviding in interface AbstractScheduleProviderMBean
Throws:
Exception

stopProviding

public void stopProviding()
Stops the Provider from providing causing the provider to remove the Schedule

Specified by:
stopProviding in interface AbstractScheduleProviderMBean


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