|
||||||||||
| 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(Class proxyClass,
IndirectionHandler handler)
|
Class |
getDefaultIndirectionHandlerClass()
Returns the class of a default IndirectionHandler that can be used for this implementaiton if now IndirectionHandlerClass implementation is given. |
IndirectionHandler |
getDynamicIndirectionHandler(Object obj)
Returns the IndirectionHandler associated with a dynamic proxy. |
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(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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyFactoryCGLIBImpl()
| Method Detail |
|---|
public Class getDefaultIndirectionHandlerClass()
ProxyFactory
public Class getIndirectionHandlerBaseClass()
public OJBProxy createProxy(Class proxyClass,
IndirectionHandler handler)
throws Exception
Exceptionpublic boolean isNormalOjbProxy(Object proxyOrObject)
AbstractProxyFactory
isNormalOjbProxy in interface ProxyFactoryisNormalOjbProxy in class AbstractProxyFactorytrue if the object is an OJB proxypublic IndirectionHandler getDynamicIndirectionHandler(Object obj)
AbstractProxyFactory
getDynamicIndirectionHandler in class AbstractProxyFactorypublic boolean interfaceRequiredForProxyGeneration()
ProxyFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||