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
Version:
$Revision: 57209 $
Author:
Thomas.Diesler@jboss.org, Dimitris.Andreadis@jboss.org

Field Summary
static javax.management.ObjectName OBJECT_NAME
          The default 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)
          The used database persistence plugin class
 void setDataSource(javax.management.ObjectName dataSource)
          The used 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, listTimerHandles
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
The default object name

Method Detail

setDataSource

void setDataSource(javax.management.ObjectName dataSource)
The used datasource


getDataSource

javax.management.ObjectName getDataSource()

setDatabasePersistencePlugin

void setDatabasePersistencePlugin(String dbpPluginClass)
The used database persistence plugin class


getDatabasePersistencePlugin

String getDatabasePersistencePlugin()

resetAndRestoreTimers

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

Throws:
SQLException


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