org.codehaus.aspectwerkz.aspect
Class DefaultAspectContainerStrategy
java.lang.Object
org.codehaus.aspectwerkz.aspect.AbstractAspectContainer
org.codehaus.aspectwerkz.aspect.DefaultAspectContainerStrategy
- All Implemented Interfaces:
- AspectContainer
- public class DefaultAspectContainerStrategy
- extends AbstractAspectContainer
Implements the default aspect container strategy.
- Author:
- Jonas Bonér
Fields inherited from class org.codehaus.aspectwerkz.aspect.AbstractAspectContainer |
arrayWithSingleCrossCuttingInfo, ASPECT_CONSTRUCTION_TYPE_CROSS_CUTTING_INFO, ASPECT_CONSTRUCTION_TYPE_DEFAULT, ASPECT_CONSTRUCTION_TYPE_UNKNOWN, EMPTY_OBJECT_ARRAY, m_adviceRepository, m_aspectPrototype, m_constructionType, m_infoPrototype, m_introductionContainers, m_perClass, m_perInstance, m_perJvm, m_perThread |
Methods inherited from class org.codehaus.aspectwerkz.aspect.AbstractAspectContainer |
addIntroductionContainer, createAdviceRepository, createPerClassAspect, createPerInstanceAspect, createPerJvmAspect, createPerThreadAspect, getAdvice, getCrossCuttingInfo, getIntroductionContainer, invokeAdvice, invokeAdvice |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_aspectConstructor
protected Constructor m_aspectConstructor
- The constructor for the aspect.
DefaultAspectContainerStrategy
public DefaultAspectContainerStrategy(CrossCuttingInfo crossCuttingInfo)
- Creates a new aspect container strategy.
- Parameters:
crossCuttingInfo
- the cross-cutting info
createAspect
protected Object createAspect()
- Creates a new aspect instance.
- Specified by:
createAspect
in class AbstractAspectContainer
- Returns:
- the new aspect instance
findConstructor
protected Constructor findConstructor()
- Grabs the correct constructor for the aspect.
- Returns:
- the constructor for the aspect
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.