1 22 package org.jboss.varia.scheduler; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 28 35 public interface SingleScheduleProviderMBean extends AbstractScheduleProviderMBean 36 { 37 38 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=SingleScheduleProvider"); 39 40 42 45 void setTargetName(ObjectName objectName); 46 ObjectName getTargetName(); 47 48 69 void setTargetMethod(String method) throws IllegalArgumentException ; 70 String getTargetMethod(); 71 72 79 void setPeriod(long period); 80 long getPeriod(); 81 82 86 void setDateFormat(String dateFormat); 87 String getDateFormat(); 88 89 108 void setStartDate(String startDate); 109 String getStartDate(); 110 111 117 void setRepetitions(long numberOfCalls); 118 long getRepetitions(); 119 120 } 121 | Popular Tags |