|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.core.proxy.AbstractProxyFactory
org.apache.ojb.broker.core.proxy.ProxyFactoryCGLIBImpl
public class ProxyFactoryCGLIBImpl
Constructor Summary | |
---|---|
ProxyFactoryCGLIBImpl()
|
Method Summary | |
---|---|
OJBProxy |
createProxy(java.lang.Class proxyClass,
IndirectionHandler handler)
|
java.lang.Class |
getDefaultIndirectionHandlerClass()
Returns the class of a default IndirectionHandler that can be used for this implementaiton if now IndirectionHandlerClass implementation is given. |
IndirectionHandler |
getDynamicIndirectionHandler(java.lang.Object obj)
Returns the IndirectionHandler associated with a dynamic proxy. |
java.lang.Class |
getIndirectionHandlerBaseClass()
Returns the class of the base class that the given IndirectionHandler must extend/implement |
boolean |
interfaceRequiredForProxyGeneration()
Method that returns whether or not this ProxyFactory can generate reference Proxies for classes regardless if they extend an interface or not. |
boolean |
isNormalOjbProxy(java.lang.Object proxyOrObject)
Determines whether the given object is an OJB proxy. |
Methods inherited from class org.apache.ojb.broker.core.proxy.AbstractProxyFactory |
---|
createCollectionProxy, createIndirectionHandler, getCollectionProxy, getCollectionProxyClass, getIndirectionHandler, getIndirectionHandlerClass, getListProxyClass, getProxyFactory, getRealClass, getRealObject, getRealObjectIfMaterialized, getSetProxyClass, isCollectionProxy, isMaterialized, isProxy, isVirtualOjbProxy, setCollectionProxyClass, setIndirectionHandlerClass, setListProxyClass, setSetProxyClass, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyFactoryCGLIBImpl()
Method Detail |
---|
public java.lang.Class getDefaultIndirectionHandlerClass()
ProxyFactory
public java.lang.Class getIndirectionHandlerBaseClass()
public OJBProxy createProxy(java.lang.Class proxyClass, IndirectionHandler handler) throws java.lang.Exception
java.lang.Exception
public boolean isNormalOjbProxy(java.lang.Object proxyOrObject)
AbstractProxyFactory
isNormalOjbProxy
in interface ProxyFactory
isNormalOjbProxy
in class AbstractProxyFactory
true
if the object is an OJB proxypublic IndirectionHandler getDynamicIndirectionHandler(java.lang.Object obj)
AbstractProxyFactory
public boolean interfaceRequiredForProxyGeneration()
ProxyFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |