|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.system.client.proxy.ProxyHelperImpl
org.LexGrid.LexBIG.caCore.client.proxy.LexEVSProxyHelperImpl
public class LexEVSProxyHelperImpl
Object proxy implementation for EVS. Certain methods are overridden to provide EVS-specific proxying functionality.
Field Summary | |
---|---|
private static Class |
ADMIN_FUNCTION
Annotation class used to mark LexBig methods which are admin functions and thus illegal for execution via the distributed API. |
private static Class |
CLIENT_SAFE
Annotation class used to mark LexBig classes and methods as safe for execution on a client without the LexBig environment. |
private static org.apache.log4j.Logger |
log
|
Constructor Summary | |
---|---|
LexEVSProxyHelperImpl()
|
Method Summary | |
---|---|
protected Object |
convertObjectToProxy(gov.nih.nci.system.applicationservice.ApplicationService as,
Object obj)
|
protected Object |
createClone(Object source)
Creates a serializable copy of a given object |
private String[] |
getParameterTypes(Method methodImpl)
Returns a list of class names that are parameters to the given method. |
private boolean |
isClientSafe(Object object)
Returns true if the given method or class is marked client-safe. |
boolean |
isInitialized(org.aopalliance.intercept.MethodInvocation invocation)
Returns true if the object is initialized |
private boolean |
isLexBigClass(Class clazz)
Returns true if the given invocation is for a LexBig object. |
Object |
lazyLoad(gov.nih.nci.system.applicationservice.ApplicationService as,
org.aopalliance.intercept.MethodInvocation invocation)
Implements the LazyLoading |
private Object |
unwrap(Object proxy)
Returns the underlying object that the specified proxy is advising. |
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 |
Field Detail |
---|
private static final org.apache.log4j.Logger log
private static final Class CLIENT_SAFE
private static final Class ADMIN_FUNCTION
Constructor Detail |
---|
public LexEVSProxyHelperImpl()
Method Detail |
---|
protected Object convertObjectToProxy(gov.nih.nci.system.applicationservice.ApplicationService as, Object obj)
convertObjectToProxy
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
public boolean isInitialized(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
isInitialized
in interface gov.nih.nci.system.client.proxy.ProxyHelper
isInitialized
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
Throwable
public Object lazyLoad(gov.nih.nci.system.applicationservice.ApplicationService as, org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
lazyLoad
in interface gov.nih.nci.system.client.proxy.ProxyHelper
lazyLoad
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
Throwable
private boolean isLexBigClass(Class clazz)
clazz
- the clazz
private boolean isClientSafe(Object object)
object
- the object
private Object unwrap(Object proxy) throws Exception
proxy
- the proxy
Exception
- the exceptionprivate String[] getParameterTypes(Method methodImpl)
methodImpl
-
protected Object createClone(Object source)
createClone
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |