org.codehaus.aspectwerkz.attribdef.definition.attribute
Class AbstractAdviceAttribute

java.lang.Object
  extended byorg.codehaus.aspectwerkz.attribdef.definition.attribute.AbstractAdviceAttribute
All Implemented Interfaces:
Attribute, java.io.Serializable
Direct Known Subclasses:
AfterAttribute, AroundAttribute, BeforeAttribute

public abstract class AbstractAdviceAttribute
extends java.lang.Object
implements Attribute

Abstract advice attribute class.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
AbstractAdviceAttribute(java.lang.String name, java.lang.String expression)
          Create an AbstractAdviceAttribute attribute.
 
Method Summary
 java.lang.String getExpression()
          Return the expression.
 java.lang.String getName()
          Returns the name of the advice.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAdviceAttribute

public AbstractAdviceAttribute(java.lang.String name,
                               java.lang.String expression)
Create an AbstractAdviceAttribute attribute.

Parameters:
name - the name of the advice
expression - the pointcut for the advice
Method Detail

getName

public java.lang.String getName()
Returns the name of the advice.

Returns:
the name of the advice

getExpression

public java.lang.String getExpression()
Return the expression.

Returns:
the expression


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.