org.apache.ojb.broker.core.proxy
Class ProxyFactoryJDKImpl
java.lang.Object
org.apache.ojb.broker.core.proxy.AbstractProxyFactory
org.apache.ojb.broker.core.proxy.ProxyFactoryJDKImpl
- All Implemented Interfaces:
- ProxyFactory, java.io.Serializable
- public class ProxyFactoryJDKImpl
- extends AbstractProxyFactory
- Author:
- andrew.clute
- See Also:
- Serialized Form
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 |
ProxyFactoryJDKImpl
public ProxyFactoryJDKImpl()
getDefaultIndirectionHandlerClass
public java.lang.Class getDefaultIndirectionHandlerClass()
- Description copied from interface:
ProxyFactory
- Returns the class of a default IndirectionHandler that can be used for this implementaiton
if now IndirectionHandlerClass implementation is given.
getIndirectionHandlerBaseClass
public java.lang.Class getIndirectionHandlerBaseClass()
- Returns the class of the base class that the given IndirectionHandler must extend/implement
createProxy
public OJBProxy createProxy(java.lang.Class baseClass,
IndirectionHandler handler)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDynamicIndirectionHandler
public IndirectionHandler getDynamicIndirectionHandler(java.lang.Object obj)
isNormalOjbProxy
public boolean isNormalOjbProxy(java.lang.Object proxyOrObject)
- Description copied from class:
AbstractProxyFactory
- Determines whether the given object is an OJB proxy.
- Specified by:
isNormalOjbProxy
in interface ProxyFactory
- Overrides:
isNormalOjbProxy
in class AbstractProxyFactory
- Returns:
true
if the object is an OJB proxy
interfaceRequiredForProxyGeneration
public boolean interfaceRequiredForProxyGeneration()
- Description copied from interface:
ProxyFactory
- Method that returns whether or not this ProxyFactory can generate reference Proxies
for classes regardless if they extend an interface or not.
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30