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

static final javax.management.ObjectName OBJECT_NAME
Method Detail

resetAndRestoreTimers

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

Throws:
SQLException

getDataSource

javax.management.ObjectName getDataSource()

setDataSource

void setDataSource(javax.management.ObjectName dataSource)

getDatabasePersistencePlugin

String getDatabasePersistencePlugin()

setDatabasePersistencePlugin

void setDatabasePersistencePlugin(String dbpPluginClass)


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