1 22 package org.jboss.ha.hasessionstate.server; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.ha.framework.server.ClusterPartitionMBean; 27 import org.jboss.mx.util.ObjectNameFactory; 28 29 39 public interface HASessionStateServiceMBean 40 extends org.jboss.system.ServiceMBean 41 { 42 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=HASessionState"); 43 44 String getJndiName(); 45 void setJndiName(String newName); 46 47 54 String getPartitionName(); 55 62 void setPartitionName(String name); 63 64 69 ClusterPartitionMBean getClusterPartition(); 70 71 76 void setClusterPartition(ClusterPartitionMBean clusterPartition); 77 78 long getBeanCleaningDelay(); 79 void setBeanCleaningDelay(long newDelay); 80 } 81 | Popular Tags |