public class ServiceProxy extends Object implements InvocationHandler, Serializable, Externalizable
| Constructor and Description |
|---|
ServiceProxy() |
ServiceProxy(ServiceImpl service,
Class siClass)
Construct a client side service proxy.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args)
Processes a method invocation on a proxy instance and returns
the result.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public ServiceProxy()
public ServiceProxy(ServiceImpl service, Class siClass)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2012 JBoss, by Red Hat. All Rights Reserved.