1 22 package org.jboss.ejb.txtimer; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 import org.jboss.system.Service; 28 29 37 public interface DatabasePersistencePolicyMBean extends Service, PersistencePolicy 38 { 39 40 static final ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ejb:service=EJBTimerService,persistencePolicy=database"); 41 42 44 47 void setDataSource(ObjectName dataSource); 48 ObjectName getDataSource(); 49 50 53 void setDatabasePersistencePlugin(String dbpPluginClass); 54 String getDatabasePersistencePlugin(); 55 56 58 62 void resetAndRestoreTimers() throws java.sql.SQLException ; 63 64 } 65 | Popular Tags |