com.tc.aspectwerkz.aspect.container |
|
Java Source File Name | Type | Comment |
AbstractAspectFactoryCompiler.java | Class | Create a factory class for different aspect life cycle models.
Each model ends in instantiating the aspect thru "new XAspect()" if there is no aspect container, or thru
keeping a reference to the container and delegating to it thru container.aspectOf(..).
The container itself is created with a one per factory basis (thus controlled by QName) thru
"new XContainer()" or "new XContainer(aspectClass, aopSystemClassLoader, String uuid, String aspectQName, Map aspectParam)"
Each model has the aspectOf(..) method, and the "hasAspect(..)" method.
PerObject has a bind(object) method suitable for perTarget / perThis, that delegates to a supposely implemented
interface in the target object itself (to avoid a map)
PerCflowX has a bind(thread) / unbind(thread) suitable for perCflow / perCflowBelow.
TODO: none is synchronized. |
Artifact.java | Class | |
AspectFactoryManager.java | Class | |
LazyPerXFactoryCompiler.java | Class | Abstract class for lazy model that instantiate the aspect as soon as aspectOf is called
(f.e. |
PerCflowXAspectFactoryCompiler.java | Class | |
PerJVMAspectFactoryCompiler.java | Class | |
PerObjectFactoryCompiler.java | Class | Factory compiler for perThis perTarget and perInstance (lazy like) models. |