|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.sape.carbon.core.util.reflection.GenericProxy
|
+--org.sape.carbon.services.jmx.server.mx4j.RemoteMBeanServerProxy
Dynamic proxy for a RemoteMBeanServer. Copyright 2002 Sapient
| Field Summary | |
private static Class[] |
INTERFACES
Interfaces being applied tot he proxy. |
private mx4j.connector.RemoteMBeanServer |
remoteServer
Holds the server being proxied. |
| Fields inherited from class org.sape.carbon.core.util.reflection.GenericProxy |
|
| Constructor Summary | |
RemoteMBeanServerProxy(mx4j.connector.RemoteMBeanServer remoteServer)
Creates a new instance of RemoteMBeanServerProxy. |
|
| Method Summary | |
static javax.management.MBeanServer |
buildServerProxy(mx4j.connector.RemoteMBeanServer server)
Builds a dynamic proxy around the RemoteMBeanServer. |
protected Object |
handleInvoke(Object proxy,
Method m,
Object[] args)
Handles invokation of methods. |
| Methods inherited from class org.sape.carbon.core.util.reflection.GenericProxy |
invoke, proxyEquals, proxyHashCode, proxyToString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private mx4j.connector.RemoteMBeanServer remoteServer
private static final Class[] INTERFACES
| Constructor Detail |
public RemoteMBeanServerProxy(mx4j.connector.RemoteMBeanServer remoteServer)
remoteServer - the remote server to proxy| Method Detail |
protected Object handleInvoke(Object proxy,
Method m,
Object[] args)
throws Throwable
handleInvoke in class GenericProxyproxy - proxy being invokedm - method being invokedargs - arguments passed to the method
Throwable - indicates an error in the invocationpublic static javax.management.MBeanServer buildServerProxy(mx4j.connector.RemoteMBeanServer server)
server - server to build the proxy around
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||