|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.remoting.MBeanServerClientInvokerProxy
public class MBeanServerClientInvokerProxy
MBeanServerClientInvokerProxy is an MBeanServer dynamic proxy that will forward all MBeanServer requests to a remote MBeanServer via a RemoteClientInvoker.
Method Summary | |
---|---|
static MBeanServer |
create(org.jboss.remoting.InvokerLocator locator,
String localJmxId,
String jmxId)
|
void |
deliverNotifications(NotificationQueue queue,
boolean async)
|
void |
destroy()
called to destroy the proxy and the invoker |
static MBeanServerClientInvokerProxy |
get(String id)
get a proxy for a given JMX Id |
org.jboss.remoting.InvokerLocator |
getLocator()
return the invoker locator |
String[] |
getMethodSignature(Method method)
|
String |
getServerId()
return the remote JMX id |
Object |
invoke(Object proxy,
Method method,
Object[] args)
|
static MBeanServerClientInvokerProxy |
remove(String id)
remove the proxy for a given JMX id |
protected void |
setupPollingTimer()
setup the polling based on the pollinterval locator attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MBeanServerClientInvokerProxy remove(String id)
id
-
public static MBeanServerClientInvokerProxy get(String id)
id
-
protected void setupPollingTimer()
For example, to set the pollinterval to every 2.5 seconds, you would configure the client invoker locator to be:
soap://192.168.10.1/pollinterval=2500
The default interval if not specified is 1000, for every 1 second. You can
disable polling by setting the interval to <=0.
public String getServerId()
public org.jboss.remoting.InvokerLocator getLocator()
public static MBeanServer create(org.jboss.remoting.InvokerLocator locator, String localJmxId, String jmxId) throws Exception
Exception
public void destroy()
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public void deliverNotifications(NotificationQueue queue, boolean async) throws InterruptedException
InterruptedException
public String[] getMethodSignature(Method method)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |