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 Bonr
Fields inherited from class org.codehaus.aspectwerkz.aspect.AbstractAspectContainer |
ARRAY_WITH_SINGLE_ASPECT_CONTEXT, ASPECT_CONSTRUCTION_TYPE_ASPECT_CONTEXT, ASPECT_CONSTRUCTION_TYPE_DEFAULT, ASPECT_CONSTRUCTION_TYPE_UNKNOWN, EMPTY_OBJECT_ARRAY, m_adviceInfos, m_aspectContext, m_constructionType, m_perClass, m_perInstance, m_perJvm, m_perThread |
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(AspectContext aspectContext)
- Creates a new aspect container strategy.
- Parameters:
aspectContext
- 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-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.