org.rhq.enterprise.client
Class LocalClientProxy
java.lang.Object
org.rhq.bindings.client.AbstractRhqFacadeProxy<LocalClient>
org.rhq.enterprise.client.LocalClientProxy
- All Implemented Interfaces:
- InvocationHandler
public class LocalClientProxy
- extends AbstractRhqFacadeProxy<LocalClient>
This is a proxy interface that simply calls given (de-simplified) method on a provided object.
The use-case here is to invoke a method from a remote interface on the local SLSB.
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalClientProxy
public LocalClientProxy(Object localSLSB,
LocalClient client,
RhqManagers manager)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler- Overrides:
invoke in class AbstractRhqFacadeProxy<LocalClient>
- Throws:
Throwable
doInvoke
protected Object doInvoke(Object proxy,
Method originalMethod,
Class<?>[] argTypes,
Object[] args)
throws Throwable
- Specified by:
doInvoke in class AbstractRhqFacadeProxy<LocalClient>
- Throws:
Throwable
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.