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.ServiceMBean; 28 import org.jboss.tm.TransactionManagerFactory; 29 30 38 public interface EJBTimerServiceImplMBean extends ServiceMBean, EJBTimerService 39 { 40 41 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.ejb:service=EJBTimerService"); 42 43 45 46 void setRetryPolicy(ObjectName retryPolicyName); 47 ObjectName getRetryPolicy(); 48 49 50 void setPersistencePolicy(ObjectName persistencePolicyName); 51 ObjectName getPersistencePolicy(); 52 53 54 void setTimerIdGeneratorClassName(String timerIdGeneratorClassName); 55 String getTimerIdGeneratorClassName(); 56 57 58 void setTimedObjectInvokerClassName(String timedObjectInvokerClassName); 59 String getTimedObjectInvokerClassName(); 60 61 62 void setTransactionManagerFactory(TransactionManagerFactory factory); 63 64 66 69 String listTimers(); 70 71 } 72 | Popular Tags |