|
||||||||||
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.DataServiceProxyHelperImpl
public class DataServiceProxyHelperImpl
Object proxy implementation for EVS. Certain methods are overridden to provide EVS-specific proxying functionality.
Field Summary | |
---|---|
private static org.apache.log4j.Logger |
log
|
private static String[] |
NON_LAZY_LOAD_METHODS
|
Constructor Summary | |
---|---|
DataServiceProxyHelperImpl()
|
Method Summary | |
---|---|
protected Object |
accountForCastorMethods(List result,
org.aopalliance.intercept.MethodInvocation methodInvocation)
Account for all the extra methods Castor puts in its beans. |
protected Object |
convertLexEVSListProxyToProxy(gov.nih.nci.system.applicationservice.ApplicationService as,
LexEVSListProxy proxy)
|
protected Object |
convertObjectToProxy(gov.nih.nci.system.applicationservice.ApplicationService as,
Object obj)
|
Object |
convertToProxy(gov.nih.nci.system.applicationservice.ApplicationService as,
Object obj)
|
protected String |
getPropertyNameFromMethodName(org.aopalliance.intercept.MethodInvocation invocation)
Determine the property within the bean that is being referenced by the method called. |
protected boolean |
isFieldHibernateInit(Object obj,
String fieldName)
Determine whether or not a Field has been initialized by Hibernate or not. |
boolean |
isInitialized(org.aopalliance.intercept.MethodInvocation invocation)
Returns true if the object is initialized |
protected boolean |
isLazyLoadableMethod(Method method)
|
protected boolean |
isMethodInitialized(org.aopalliance.intercept.MethodInvocation invocation)
Determine whether or not this method call has been fully initialized by Hibernate. |
Object |
lazyLoad(gov.nih.nci.system.applicationservice.ApplicationService as,
org.aopalliance.intercept.MethodInvocation invocation)
Implements the LazyLoading |
protected String |
makeFirstLetterLowerCase(String searchString)
|
Methods inherited from class gov.nih.nci.system.client.proxy.ProxyHelperImpl |
---|
convertArrayToProxy, convertCollectionToProxy, convertListProxyToProxy, convertToObject, createClone, 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 String[] NON_LAZY_LOAD_METHODS
Constructor Detail |
---|
public DataServiceProxyHelperImpl()
Method Detail |
---|
public Object convertToProxy(gov.nih.nci.system.applicationservice.ApplicationService as, Object obj)
convertToProxy
in interface gov.nih.nci.system.client.proxy.ProxyHelper
convertToProxy
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
protected Object convertLexEVSListProxyToProxy(gov.nih.nci.system.applicationservice.ApplicationService as, LexEVSListProxy proxy)
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 Exception
isInitialized
in interface gov.nih.nci.system.client.proxy.ProxyHelper
isInitialized
in class gov.nih.nci.system.client.proxy.ProxyHelperImpl
Exception
protected boolean isLazyLoadableMethod(Method method)
protected String getPropertyNameFromMethodName(org.aopalliance.intercept.MethodInvocation invocation) throws Exception
invocation
- The Method Invocation.
Exception
protected String makeFirstLetterLowerCase(String searchString)
protected boolean isMethodInitialized(org.aopalliance.intercept.MethodInvocation invocation) throws Exception
invocation
- The MethodInvocation to check.
Exception
protected boolean isFieldHibernateInit(Object obj, String fieldName) throws Exception
obj
- The object to check.fieldName
- The field name.
Exception
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
protected Object accountForCastorMethods(List result, org.aopalliance.intercept.MethodInvocation methodInvocation)
result
- The right result given the Method being called.methodInvocation
- The method being invoked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |