ch.elca.el4j.core.aop
Class GenericProxiedFactoryBean
java.lang.Object
ch.elca.el4j.core.aop.GenericProxiedFactoryBean
- All Implemented Interfaces:
- FactoryBean
public class GenericProxiedFactoryBean
- extends Object
- implements FactoryBean
A generic FactoryBean
that wraps another factory and proxies the beans generated by that factory.
- Author:
- Stefan Wismer (SWI)
- File-location:
- GenericProxiedFactoryBean
- Last check-in date:
- 2009-08-04 14:35:53 +0200 (Di, 04. Aug 2009) by swismer for revision 3875
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericProxiedFactoryBean
public GenericProxiedFactoryBean(FactoryBean factoryBean,
ProxyFactory proxyFactory)
- Parameters:
factoryBean
- the FactoryBean
to wrapproxyFactory
- The proxy factory to wrap objects generated by the wrapped factory
wrap
protected Object wrap(Object original)
- Parameters:
original
- the object to wrap
- Returns:
- the wrapped object
getObject
public Object getObject()
throws Exception
-
- Specified by:
getObject
in interface FactoryBean
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
-
- Specified by:
getObjectType
in interface FactoryBean
isSingleton
public boolean isSingleton()
-
- Specified by:
isSingleton
in interface FactoryBean
Copyright © 2005-2011 ELCA. All Rights Reserved.