|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |
WEB-INF.cftags.component coldspring.aop.framework.ProxyFactoryBean
public class ProxyFactoryBean
FactoryBean implementation that builds an AOP proxy based on beans in ColdSpring BeanFactory.
Constructor Summary | |
---|---|
init()
Constructor |
Method Summary | |
---|---|
void |
buildInterceptors()
add all the interceptor named Advice/Advisor to the ProxyFactory |
private BeanFactory |
getBeanFactory()
|
array |
getInterceptorNames()
|
any |
getObject()
Return a proxy |
string |
getObjectType()
Return the type of the proxy |
private ProxyFactory |
getProxyFactory()
|
private any |
getProxySingleton()
|
any |
getTarget()
|
string |
getTargetName()
|
boolean |
hasBeanFactory()
whether this object has a beanFactory |
boolean |
hasInterceptorNames()
whether this object has interceptor names set against it (also returns false on an empty array) |
private boolean |
hasProxySingleton()
whether this object has a proxy Singleton |
boolean |
hasTarget()
whether this object has a target |
boolean |
hasTargetName()
whether this object has a target name |
private boolean |
isInterceptorsBuilt()
|
boolean |
isSingleton()
Is the object managed by this factory a singleton? That is, will getObject() always return the same object (a reference that can be cached)? NOTE: If a FactoryBean indicates to hold a singleton object, the object returned from getObject() might get cached by the owning BeanFactory |
void |
setBeanFactory(BeanFactory beanFactory)
Callback that supplies the owning factory to a bean instance |
void |
setInterceptorNames(any interceptorNames)
Set the list of Advice/Advisor bean names |
private void |
setInterceptorsBuilt(boolean interceptorsBuilt)
|
private void |
setProxyFactory(ProxyFactory proxyFactory)
|
private void |
setProxySingleton(any proxySingleton)
|
void |
setSingleton(boolean isSingleton)
Set the value of the singleton property |
void |
setTarget(any target)
|
void |
setTargetName(string targetName)
|
Methods inherited from class WEB-INF.cftags.component |
---|
|
Constructor Detail |
---|
public init()
Method Detail |
---|
public void buildInterceptors()
private BeanFactory getBeanFactory()
public array getInterceptorNames()
public any getObject()
getObject
in interface
FactoryBean
public string getObjectType()
getObjectType
in interface
FactoryBean
private ProxyFactory getProxyFactory()
private any getProxySingleton()
public any getTarget()
public string getTargetName()
public boolean hasBeanFactory()
public boolean hasInterceptorNames()
private boolean hasProxySingleton()
public boolean hasTarget()
public boolean hasTargetName()
private boolean isInterceptorsBuilt()
public boolean isSingleton()
isSingleton
in interface
FactoryBean
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface
BeanFactoryAware
beanFactory
- public void setInterceptorNames(any interceptorNames)
interceptorNames
- private void setInterceptorsBuilt(boolean interceptorsBuilt)
interceptorsBuilt
- private void setProxyFactory(ProxyFactory proxyFactory)
proxyFactory
- private void setProxySingleton(any proxySingleton)
proxySingleton
- public void setSingleton(boolean isSingleton)
isSingleton
- public void setTarget(any target)
target
- public void setTargetName(string targetName)
targetName
-
|
ColdSpring 2.0 - Narwhal | ||||
FRAMES |