当前页面: 
在线文档首页 > 
JBoss 4.0.1 sp1 varia  API Documentation 英文版文档
DBScheduleProviderMBean (Various API) - JBoss 4.0.1 sp1 varia  API Documentation 英文版文档
org.jboss.varia.scheduler
Interface DBScheduleProviderMBean
- 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: 
- DBScheduleProvider
- public interface DBScheduleProviderMBean- 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 | 
 
 
 
| 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 | 
 
OBJECT_NAME
public static final javax.management.ObjectName OBJECT_NAME
getDataSourceName
public String getDataSourceName()
- 
 
- 
 
setDataSourceName
public void setDataSourceName(String pDataSourceName)
- Sets the JNDI name of the Data Source. You have to ensure that the DataSource is available when this service is started.
 
- 
 
- 
 
getSQLStatement
public String getSQLStatement()
- 
 
- 
 
setSQLStatement
public void setSQLStatement(String pSQLStatement)
- Sets the SQL Statement used to retrieve the data from the Database
 
- 
 
- 
 
startProviding
public void startProviding()
                    throws Exception
- Add the Schedule to the Schedule Manager
 
- 
- Specified by:
- startProvidingin interface- AbstractScheduleProviderMBean
 
- 
- Throws:
- Exception
 
stopProviding
public void stopProviding()
- Stops the Provider from providing causing the provider to remove the Schedule
 
- 
- Specified by:
- stopProvidingin interface- AbstractScheduleProviderMBean
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.