com.genesyslab.soa.client
Class ServiceProxy

java.lang.Object
  extended bycom.genesyslab.soa.client.ServiceProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class ServiceProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler


Field Summary
protected  java.util.Properties context
           
protected  ServiceFactory factory
           
protected  java.lang.Object realService
           
protected  java.lang.Class serviceClass
           
 
Constructor Summary
ServiceProxy(ServiceFactory factory, java.lang.Class serviceClass, java.util.Properties context)
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected ServiceFactory factory

serviceClass

protected java.lang.Class serviceClass

context

protected java.util.Properties context

realService

protected java.lang.Object realService
Constructor Detail

ServiceProxy

public ServiceProxy(ServiceFactory factory,
                    java.lang.Class serviceClass,
                    java.util.Properties context)
             throws ServiceException
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable