|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xenonsoft.bridgetown.soa.impl.AbstractServiceAssembler
com.xenonsoft.bridgetown.soa.impl.AOPAbstractServiceAssembler
AOP abstract service assembler
| Field Summary |
| Fields inherited from class com.xenonsoft.bridgetown.soa.impl.AbstractServiceAssembler |
assembly, beanPropertyValueResolver, classLoader, instanceCache, proxyBeanBuilder |
| Constructor Summary | |
AOPAbstractServiceAssembler()
Default constructor |
|
| Method Summary | |
protected void |
configureParameterBeanReferences(PointcutConfig pointcutConfig)
Given a pointcut configuration, for all properties configure, fix up and verify any associated bean references. |
protected void |
createBeanBuilder()
Creates the bean builder for the application assembler. |
IAOPWeaverProxyBeanBuilder |
getAopWeaver()
Gets the AOP weaver proxy bean builder DESIGN NOTE: In theory, we could have a AOP proxy bean builder that is different object from the basic proxy bean builder, but I have not coded proxy builders this way, because the reponsibility of creating proxies and instrumenting them usual lies within one module. |
void |
setAopWeaver(IAOPWeaverProxyBeanBuilder aopWeaver)
Sets the AOP weaver proxy bean builder This method calls the superclass method setProxyBeanBuilder
|
void |
start()
Start the services registered with the assembly and additionally weaves behaviours into matching service beans and point cuts |
protected void |
weavePointcut(ContextConfig contextConfig,
PointcutConfig pointcutConfig)
Weave a local context pointcut definition that registered an assembler factory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.xenonsoft.bridgetown.soa.IServiceObjectFactory |
getName, getName, getService |
| Constructor Detail |
public AOPAbstractServiceAssembler()
| Method Detail |
protected void createBeanBuilder()
IAOPWeaverProxyBeanBuilder
createBeanBuilder in class AbstractServiceAssemblerIAOPWeaverProxyBeanBuilderpublic IAOPWeaverProxyBeanBuilder getAopWeaver()
DESIGN NOTE: In theory, we could have a AOP
proxy bean builder that is different object from the basic
proxy bean builder, but I have not coded proxy builders this way,
because the reponsibility of creating proxies and instrumenting
them usual lies within one module. In any case
IAOPWeaverProxyBeanBuilder is a sub interface
to IProxyBeanBuilder.
Peter Pilgrim
This method calls the superclass method getProxyBeanBuilder
IProxyBeanBuilder,
AbstractServiceAssembler.getProxyBeanBuilder(),
setAopWeaver(IAOPWeaverProxyBeanBuilder)public void setAopWeaver(IAOPWeaverProxyBeanBuilder aopWeaver)
This method calls the superclass method setProxyBeanBuilder
aopWeaver - The aopWeaver to set.AbstractServiceAssembler.setProxyBeanBuilder(IProxyBeanBuilder),
getAopWeaver()public void start()
start in interface IStartablestart in class AbstractServiceAssemblerAbstractServiceAssembler.start()
protected void weavePointcut(ContextConfig contextConfig,
PointcutConfig pointcutConfig)
Add a proxy weaving to the assembler start method.
Register the method pointcut with the IAOPWeaverProxyBeanBuilder implementation.
contextConfig - the context configurationpointcutConfig - the pointcut configurationprotected void configureParameterBeanReferences(PointcutConfig pointcutConfig)
AssemblyFactoryException - - if the parameters of the pointcut cannot be configured correctly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||