|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmx4odp.j4oNet.JsRegistryManager
public class JsRegistryManager
A coder should not access the JsRegistry directly. Instead, they use this registry manager instead.
It contains logic to resolve request from either the local JsRegistry, or any eligible MBeanResolver
that is registered and active in the local agent.
The JsRegistryManager contains logic to resolve an MBean or agent using the local JsRegistry or any
active and eligible MBeanResolver that is registered with the local agent. If any service is found and
the MBeanResolver that finds it is cacheable, the MBean and it's agent will be added to the local JsRegistry.
| Field Summary |
|---|
| Fields inherited from interface org.jmx4odp.j4oNet.JsRegistryManagerMBean |
|---|
CACHED, HIGH_ALL, LOCAL, LOCAL_NET, LOW_ALL, NET |
| Constructor Summary | |
|---|---|
JsRegistryManager()
Creates new JsRegistryManager |
|
| Method Summary | |
|---|---|
JmxServiceObj[] |
fullResolveMBeans(JmxServiceObj jso)
Use all active resolvers to resolve this jso |
int |
getHashcode()
|
JmxServiceObj[] |
getKnownAgents()
|
JmxServiceObj[] |
getKnownMBeans()
Get a list of the MBeans that have already been discovered and their locations cached in the jsRegistry. |
JmxServiceObj[] |
localNetResolveMBeans(JmxServiceObj jso)
LOOK UP THE JSO IN ONLY IN THIS LOCAL NETWORK |
JmxServiceObj[] |
localResolveMBeans(JmxServiceObj jso)
LOOK UP THE JSO IN ONLY THIS MBEAN SERVER |
void |
postDeregister()
|
void |
postRegister(java.lang.Boolean booleanParam)
|
void |
preDeregister()
|
javax.management.ObjectName |
preRegister(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName obj)
Before this object is registered with the JMX agent, it creates its own MBeanServerResolve and egistryResolver |
JmxServiceObj[] |
resolveJmxService(JmxServiceObj jso,
int low,
int high)
LOOK UP THE JSO IN ALL THE REGISTERED MBEANRESOLVERMBEAN'S |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsRegistryManager()
| Method Detail |
|---|
public int getHashcode()
getHashcode in interface JsRegistryManagerMBeanpublic JmxServiceObj[] localResolveMBeans(JmxServiceObj jso)
localResolveMBeans in interface JsRegistryManagerMBeanpublic JmxServiceObj[] localNetResolveMBeans(JmxServiceObj jso)
localNetResolveMBeans in interface JsRegistryManagerMBeanpublic JmxServiceObj[] fullResolveMBeans(JmxServiceObj jso)
fullResolveMBeans in interface JsRegistryManagerMBeanpublic JmxServiceObj[] getKnownAgents()
public JmxServiceObj[] getKnownMBeans()
public JmxServiceObj[] resolveJmxService(JmxServiceObj jso,
int low,
int high)
resolveJmxService in interface JsRegistryManagerMBeanpublic void postDeregister()
postDeregister in interface javax.management.MBeanRegistrationpublic void postRegister(java.lang.Boolean booleanParam)
postRegister in interface javax.management.MBeanRegistration
public void preDeregister()
throws java.lang.Exception
preDeregister in interface javax.management.MBeanRegistrationjava.lang.Exception
public javax.management.ObjectName preRegister(javax.management.MBeanServer mBeanServer,
javax.management.ObjectName obj)
throws java.lang.Exception
preRegister in interface javax.management.MBeanRegistrationjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||