当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
OracleDatabasePersistencePlugin (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.ejb.txtimer
Class OracleDatabasePersistencePlugin
java.lang.Object
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin
org.jboss.ejb.txtimer.OracleDatabasePersistencePlugin
- All Implemented Interfaces:
- DatabasePersistencePlugin
- public class OracleDatabasePersistencePlugin
- extends GeneralPurposeDatabasePersistencePlugin
This DatabasePersistencePlugin uses getBinaryStream/setBinaryStream to persist the
serializable objects associated with the timer.
- Since:
- 23-Sep-2004
- Author:
- Thomas.Diesler@jboss.org
Methods inherited from class org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin |
clearTimers, createTableIfNotExists, deleteTimer, deserialize, deserialize, getColumnInfo, getColumnInitialDate, getColumnInstancePK, getColumnTargetID, getColumnTimerID, getColumnTimerInterval, getTableName, init, serialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleDatabasePersistencePlugin
public OracleDatabasePersistencePlugin()
insertTimer
public void insertTimer(String timerId,
TimedObjectId timedObjectId,
Date initialExpiration,
long intervalDuration,
Serializable info)
throws SQLException
- Insert a timer object
- Specified by:
insertTimer
in interface DatabasePersistencePlugin
- Overrides:
insertTimer
in class GeneralPurposeDatabasePersistencePlugin
- Throws:
SQLException
selectTimers
public List selectTimers()
throws SQLException
- Select a list of currently persisted timer handles
- Specified by:
selectTimers
in interface DatabasePersistencePlugin
- Overrides:
selectTimers
in class GeneralPurposeDatabasePersistencePlugin
- Returns:
- List
- Throws:
SQLException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.