| java.lang.Object biz.hammurapi.util.CompositeProxyFactory
CompositeProxyFactory | public class CompositeProxyFactory (Code) | | Creates a proxy which combines several classes and sequentially searches for
matching method to invoke. This allows to implement lazy instantiation for
situations where you have part of object data in cheaply accessible storage (cache or DB)
and the other part in expensively accessible storage (e.g. XML file shall be
parsed to access all object data).
author: Pavel Vlasov version: $Revision: 1.1 $ |
Inner Class :public interface TargetFactory | |
CompositeProxyFactory | public CompositeProxyFactory()(Code) | | Creates factory which uses default classloader.
|
CompositeProxyFactory | public CompositeProxyFactory(ClassLoader classLoader)(Code) | | Creates factory whith specified classloader which will be
passed to createProxy(ClassLoader, Class[], TargetFactory[])
|
createProxy | public Object createProxy(Class[] interfaces, TargetFactory[] targetFactories)(Code) | | |
|
|