org.LexGrid.LexBIG.caCore.client.proxy
Class LexEVSProxyHelperImpl

java.lang.Object
  extended by gov.nih.nci.system.client.proxy.ProxyHelperImpl
      extended by org.LexGrid.LexBIG.caCore.client.proxy.LexEVSProxyHelperImpl
All Implemented Interfaces:
ProxyHelper

public class LexEVSProxyHelperImpl
extends ProxyHelperImpl

Object proxy implementation for EVS. Certain methods are overridden to provide EVS-specific proxying functionality.

Author:
Shaziya Muhsin, Konrad Rokicki

Constructor Summary
LexEVSProxyHelperImpl()
           
 
Method Summary
protected  java.lang.Object convertObjectToProxy(ApplicationService as, java.lang.Object obj)
           
protected  java.lang.Object createClone(java.lang.Object source)
          Creates a serializable copy of a given object
protected  java.util.List<java.lang.reflect.Field> getAnnotatedFields(java.lang.Object obj, java.lang.Class annotation)
           
 boolean isInitialized(MethodInvocation invocation)
          Returns true if the object is initialized
 java.lang.Object lazyLoad(ApplicationService as, MethodInvocation invocation)
          Implements the LazyLoading
 
Methods inherited from class gov.nih.nci.system.client.proxy.ProxyHelperImpl
convertArrayToProxy, convertCollectionToProxy, convertListProxyToProxy, convertToObject, convertToProxy, getAllFields, getField, getMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexEVSProxyHelperImpl

public LexEVSProxyHelperImpl()
Method Detail

convertObjectToProxy

protected java.lang.Object convertObjectToProxy(ApplicationService as,
                                                java.lang.Object obj)
Overrides:
convertObjectToProxy in class ProxyHelperImpl

isInitialized

public boolean isInitialized(MethodInvocation invocation)
                      throws java.lang.Throwable
Returns true if the object is initialized

Specified by:
isInitialized in interface ProxyHelper
Overrides:
isInitialized in class ProxyHelperImpl
Throws:
java.lang.Throwable

lazyLoad

public java.lang.Object lazyLoad(ApplicationService as,
                                 MethodInvocation invocation)
                          throws java.lang.Throwable
Implements the LazyLoading

Specified by:
lazyLoad in interface ProxyHelper
Overrides:
lazyLoad in class ProxyHelperImpl
Throws:
java.lang.Throwable

createClone

protected java.lang.Object createClone(java.lang.Object source)
Creates a serializable copy of a given object

Overrides:
createClone in class ProxyHelperImpl

getAnnotatedFields

protected java.util.List<java.lang.reflect.Field> getAnnotatedFields(java.lang.Object obj,
                                                                     java.lang.Class annotation)