1 22 package org.jboss.ha.jndi; 23 24 import java.net.UnknownHostException ; 25 import java.util.Map ; 26 import javax.management.ObjectName ; 27 28 import org.jboss.ha.framework.server.ClusterPartitionMBean; 29 import org.jboss.invocation.Invocation; 30 import org.jboss.util.threadpool.BasicThreadPoolMBean; 31 32 39 public interface DetachedHANamingServiceMBean 40 extends org.jboss.system.ServiceMBean 41 { 42 49 String getPartitionName(); 50 57 void setPartitionName(String name); 58 59 64 ClusterPartitionMBean getClusterPartition(); 65 66 71 void setClusterPartition(ClusterPartitionMBean clusterPartition); 72 73 76 public ObjectName getProxyFactoryObjectName(); 77 80 public void setProxyFactoryObjectName(ObjectName proxyFactory); 81 82 84 int getPort(); 85 87 void setPort(int p); 88 89 91 String getBindAddress(); 92 94 void setBindAddress(String host) throws UnknownHostException ; 95 96 98 int getBacklog(); 99 101 void setBacklog(int backlog); 102 103 106 void setDiscoveryDisabled(boolean disabled); 107 108 111 boolean getDiscoveryDisabled(); 112 113 115 int getAutoDiscoveryGroup(); 116 118 void setAutoDiscoveryGroup(int adGroup); 119 120 122 String getAutoDiscoveryAddress(); 123 126 void setAutoDiscoveryAddress(String adAddress); 127 128 130 String getAutoDiscoveryBindAddress(); 131 134 void setAutoDiscoveryBindAddress(String adAddress) 135 throws UnknownHostException ; 136 137 138 int getAutoDiscoveryTTL(); 139 140 141 void setAutoDiscoveryTTL(int ttl); 142 143 147 public void setLookupPool(BasicThreadPoolMBean poolMBean); 148 149 155 public Map getMethodMap(); 156 157 164 public Object invoke(Invocation invocation) throws Exception ; 165 } | Popular Tags |