|
||||||||||
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.
Constructor Summary | |
---|---|
DataServiceProxyHelperImpl()
|
Method Summary | |
---|---|
protected java.lang.Object |
accountForCastorMethods(java.util.List result,
MethodInvocation methodInvocation)
Account for all the extra methods Castor puts in its beans. |
protected java.lang.Object |
convertLexEVSListProxyToProxy(ApplicationService as,
LexEVSListProxy proxy)
|
protected java.lang.Object |
convertObjectToProxy(ApplicationService as,
java.lang.Object obj)
|
java.lang.Object |
convertToProxy(ApplicationService as,
java.lang.Object obj)
|
protected java.lang.String |
getPropertyNameFromMethodName(MethodInvocation invocation)
Determine the property within the bean that is being referenced by the method called. |
protected boolean |
isFieldHibernateInit(java.lang.Object obj,
java.lang.String fieldName)
Determine whether or not a Field has been initialized by Hibernate or not. |
boolean |
isInitialized(MethodInvocation invocation)
Returns true if the object is initialized |
protected boolean |
isLazyLoadableMethod(java.lang.reflect.Method method)
|
protected boolean |
isMethodInitialized(MethodInvocation invocation)
Determine whether or not this method call has been fully initialized by Hibernate. |
java.lang.Object |
lazyLoad(ApplicationService as,
MethodInvocation invocation)
Implements the LazyLoading |
protected java.lang.String |
makeFirstLetterLowerCase(java.lang.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 |
Constructor Detail |
---|
public DataServiceProxyHelperImpl()
Method Detail |
---|
public java.lang.Object convertToProxy(ApplicationService as, java.lang.Object obj)
convertToProxy
in interface ProxyHelper
convertToProxy
in class ProxyHelperImpl
protected java.lang.Object convertLexEVSListProxyToProxy(ApplicationService as, LexEVSListProxy proxy)
protected java.lang.Object convertObjectToProxy(ApplicationService as, java.lang.Object obj)
convertObjectToProxy
in class ProxyHelperImpl
public boolean isInitialized(MethodInvocation invocation) throws java.lang.Exception
isInitialized
in interface ProxyHelper
isInitialized
in class ProxyHelperImpl
java.lang.Exception
protected boolean isLazyLoadableMethod(java.lang.reflect.Method method)
protected java.lang.String getPropertyNameFromMethodName(MethodInvocation invocation) throws java.lang.Exception
invocation
- The Method Invocation.
java.lang.Exception
protected java.lang.String makeFirstLetterLowerCase(java.lang.String searchString)
protected boolean isMethodInitialized(MethodInvocation invocation) throws java.lang.Exception
invocation
- The MethodInvocation to check.
java.lang.Exception
protected boolean isFieldHibernateInit(java.lang.Object obj, java.lang.String fieldName) throws java.lang.Exception
obj
- The object to check.fieldName
- The field name.
java.lang.Exception
public java.lang.Object lazyLoad(ApplicationService as, MethodInvocation invocation) throws java.lang.Throwable
lazyLoad
in interface ProxyHelper
lazyLoad
in class ProxyHelperImpl
java.lang.Throwable
protected java.lang.Object accountForCastorMethods(java.util.List result, 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 |