|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.network.NetworkRegistry
NetworkRegistry is a concrete implemenation of the NetworkRegistryMBean interface. The NetworkRegistry will keep a list of all the detected JBoss servers on the network and provide a local facility for querying for different servers.
| Constructor Summary | |
NetworkRegistry()
|
|
| Method Summary | |
void |
addNotificationListener(javax.management.NotificationListener notificationListener,
javax.management.NotificationFilter notificationFilter,
Object o)
|
void |
addServer(Identity identity,
InvokerLocator[] invokers)
add a server for a given identity that is available on the network |
void |
changeDomain(String newDomain)
change the main domain of the local server |
static NetworkRegistry |
getInstance()
return the singleton instance |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
NetworkInstance[] |
getServers()
return the servers on the network |
boolean |
hasServer(Identity identity)
returns true if the server with the identity is available |
void |
postDeregister()
|
void |
postRegister(Boolean aBoolean)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName objectName)
|
NetworkInstance[] |
queryServers(NetworkFilter filter)
query the network registry for 0..* of servers based on a filter. |
void |
removeNotificationListener(javax.management.NotificationListener notificationListener)
|
void |
removeServer(Identity identity)
remove a server no longer available on the network |
void |
updateServer(Identity identity,
InvokerLocator[] invokers)
update the invokers for a given server |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NetworkRegistry()
| Method Detail |
public static final NetworkRegistry getInstance()
public void addServer(Identity identity,
InvokerLocator[] invokers)
addServer in interface NetworkRegistryMBeanidentity - invokers -
public void updateServer(Identity identity,
InvokerLocator[] invokers)
updateServer in interface NetworkRegistryMBeanidentity - invokers - public NetworkInstance[] getServers()
getServers in interface NetworkRegistryMBeanpublic boolean hasServer(Identity identity)
hasServer in interface NetworkRegistryMBeanidentity -
public NetworkInstance[] queryServers(NetworkFilter filter)
queryServers in interface NetworkRegistryMBeanfilter -
public void removeServer(Identity identity)
removeServer in interface NetworkRegistryMBeanidentity -
public void addNotificationListener(javax.management.NotificationListener notificationListener,
javax.management.NotificationFilter notificationFilter,
Object o)
throws IllegalArgumentException
addNotificationListener in interface javax.management.NotificationBroadcasterIllegalArgumentExceptionpublic javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface javax.management.NotificationBroadcaster
public void removeNotificationListener(javax.management.NotificationListener notificationListener)
throws javax.management.ListenerNotFoundException
removeNotificationListener in interface javax.management.NotificationBroadcasterjavax.management.ListenerNotFoundExceptionpublic void postDeregister()
postDeregister in interface javax.management.MBeanRegistrationpublic void postRegister(Boolean aBoolean)
postRegister in interface javax.management.MBeanRegistration
public void preDeregister()
throws Exception
preDeregister in interface javax.management.MBeanRegistrationException
public javax.management.ObjectName preRegister(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName objectName)
throws Exception
preRegister in interface javax.management.MBeanRegistrationExceptionpublic void changeDomain(String newDomain)
changeDomain in interface NetworkRegistryMBeannewDomain -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||