org.codehaus.aspectwerkz.annotation
Class AdviceAnnotationProxyBase

java.lang.Object
  extended byorg.codehaus.aspectwerkz.annotation.UntypedAnnotationProxy
      extended byorg.codehaus.aspectwerkz.annotation.AdviceAnnotationProxyBase
All Implemented Interfaces:
Annotation, ParameterizedAnnotationProxy, Serializable
Direct Known Subclasses:
AfterAnnotationProxy, AroundAnnotationProxy, BeforeAnnotationProxy

public class AdviceAnnotationProxyBase
extends UntypedAnnotationProxy
implements ParameterizedAnnotationProxy

The advice annotation proxy base.

Author:
Jonas Bonér , Alexandre Vasseur
See Also:
Serialized Form

Field Summary
protected  Map m_argsTypeByName
           
protected  String m_pointcut
           
protected  AdviceType m_type
           
 
Fields inherited from class org.codehaus.aspectwerkz.annotation.UntypedAnnotationProxy
m_name, m_value
 
Constructor Summary
AdviceAnnotationProxyBase()
           
 
Method Summary
 void addArgument(String argName, String className)
           
 Set getArgumentNames()
           
 String getArgumentType(String parameterName)
           
 AdviceType getType()
           
 String pointcut()
           
 void setValue(String value)
          Sets the string single value of this untyped annotation
 
Methods inherited from class org.codehaus.aspectwerkz.annotation.UntypedAnnotationProxy
getName, getValue, initialize, isTyped, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_pointcut

protected String m_pointcut

m_type

protected AdviceType m_type

m_argsTypeByName

protected final Map m_argsTypeByName
Constructor Detail

AdviceAnnotationProxyBase

public AdviceAnnotationProxyBase()
Method Detail

pointcut

public String pointcut()

setValue

public void setValue(String value)
Description copied from class: UntypedAnnotationProxy
Sets the string single value of this untyped annotation

Overrides:
setValue in class UntypedAnnotationProxy
Parameters:
value -

addArgument

public void addArgument(String argName,
                        String className)
Specified by:
addArgument in interface ParameterizedAnnotationProxy

getArgumentNames

public Set getArgumentNames()
Specified by:
getArgumentNames in interface ParameterizedAnnotationProxy

getArgumentType

public String getArgumentType(String parameterName)
Specified by:
getArgumentType in interface ParameterizedAnnotationProxy

getType

public AdviceType getType()


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.