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

java.lang.Object
  extended by gov.nih.nci.system.client.proxy.ApplicationServiceProxy
      extended by org.LexGrid.LexBIG.caCore.client.proxy.LexEVSApplicationServiceProxy
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class LexEVSApplicationServiceProxy
extends gov.nih.nci.system.client.proxy.ApplicationServiceProxy

Application Service proxy for LexEVS. Certain methods are overridden to provide LexEVS-specific proxying functionality.

Author:
Kim L. Ong, Harsha Karur Rajasimha, Kevin Peterson

Field Summary
private  gov.nih.nci.system.client.proxy.ProxyHelper dataServiceProxyHelper
           
private  LexEVSApplicationService eas
           
private static org.apache.log4j.Logger log
           
protected  HashMap<String,gov.nih.nci.evs.security.SecurityToken> securityToken_map
           
 
Constructor Summary
LexEVSApplicationServiceProxy()
           
 
Method Summary
 gov.nih.nci.system.client.proxy.ProxyHelper getDataServiceProxyHelper()
           
private  String[] getParameterTypes(Method methodImpl)
          Returns a list of class names that are parameters to the given method.
 HashMap getSecurityToken_map()
           
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 Object invokeDataService(org.aopalliance.intercept.MethodInvocation invocation)
           
protected  boolean isDataServiceLazyLoadable(Object[] args)
           
 void setApplicationService(gov.nih.nci.system.applicationservice.ApplicationService as)
           
 void setDataServiceProxyHelper(gov.nih.nci.system.client.proxy.ProxyHelper dataServiceProxyHelper)
           
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.ApplicationServiceProxy
setAuthentication, setProxyFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log

eas

private LexEVSApplicationService eas

securityToken_map

protected HashMap<String,gov.nih.nci.evs.security.SecurityToken> securityToken_map

dataServiceProxyHelper

private gov.nih.nci.system.client.proxy.ProxyHelper dataServiceProxyHelper
Constructor Detail

LexEVSApplicationServiceProxy

public LexEVSApplicationServiceProxy()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Overrides:
invoke in class gov.nih.nci.system.client.proxy.ApplicationServiceProxy
Throws:
Throwable

getParameterTypes

private String[] getParameterTypes(Method methodImpl)
Returns a list of class names that are parameters to the given method.

Parameters:
methodImpl -
Returns:
list of fully-qualified class names

invokeDataService

public Object invokeDataService(org.aopalliance.intercept.MethodInvocation invocation)
                         throws Throwable
Throws:
Throwable

isDataServiceLazyLoadable

protected boolean isDataServiceLazyLoadable(Object[] args)

unwrap

private Object unwrap(Object proxy)
               throws Exception
Returns the underlying object that the specified proxy is advising.

Parameters:
proxy - the proxy
Returns:
the object
Throws:
Exception - the exception

getDataServiceProxyHelper

public gov.nih.nci.system.client.proxy.ProxyHelper getDataServiceProxyHelper()

setDataServiceProxyHelper

public void setDataServiceProxyHelper(gov.nih.nci.system.client.proxy.ProxyHelper dataServiceProxyHelper)

setApplicationService

public void setApplicationService(gov.nih.nci.system.applicationservice.ApplicationService as)
Overrides:
setApplicationService in class gov.nih.nci.system.client.proxy.ApplicationServiceProxy

getSecurityToken_map

public HashMap getSecurityToken_map()