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 InvocationHandler
Throwable
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.