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

DatabasePersistencePolicyMBean (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.txtimer
Interface DatabasePersistencePolicyMBean

All Superinterfaces:
PersistencePolicy, org.jboss.system.Service
All Known Implementing Classes:
DatabasePersistencePolicy

public interface DatabasePersistencePolicyMBean
extends org.jboss.system.Service, PersistencePolicy

MBean interface.

Since:
09-Sep-2004

Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Method Summary
 String getDatabasePersistencePlugin()
           
 javax.management.ObjectName getDataSource()
           
 void resetAndRestoreTimers()
          Re-read the current persistent timers list, clear the db of timers, and restore the timers.
 void setDatabasePersistencePlugin(String dbpPluginClass)
           
 void setDataSource(javax.management.ObjectName dataSource)
           
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jboss.ejb.txtimer.PersistencePolicy
clearTimers, deleteTimer, insertTimer, listTimerHandles, restoreTimers
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

resetAndRestoreTimers

public void resetAndRestoreTimers()
                           throws SQLException
Re-read the current persistent timers list, clear the db of timers, and restore the timers.

Throws:
SQLException

getDataSource

public javax.management.ObjectName getDataSource()

setDataSource

public void setDataSource(javax.management.ObjectName dataSource)

getDatabasePersistencePlugin

public String getDatabasePersistencePlugin()

setDatabasePersistencePlugin

public void setDatabasePersistencePlugin(String dbpPluginClass)


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