1 9 package org.jboss.remoting.network; 10 11 import javax.management.MBeanRegistration ; 12 import javax.management.NotificationBroadcaster ; 13 import org.jboss.remoting.detection.ServerInvokerMetadata; 14 import org.jboss.remoting.ident.Identity; 15 16 24 public interface NetworkRegistryMBean extends NotificationBroadcaster , MBeanRegistration 25 { 26 31 public NetworkInstance[] getServers(); 32 33 39 public void addServer(Identity identity, ServerInvokerMetadata invokers[]); 40 41 46 public void removeServer(Identity identity); 47 48 54 public void updateServer(Identity identity, ServerInvokerMetadata invokers[]); 55 56 62 public boolean hasServer(Identity identity); 63 64 71 public NetworkInstance[] queryServers(NetworkFilter filter); 72 73 78 public void changeDomain(String newDomain); 79 } 80 | Popular Tags |