org.codehaus.aspectwerkz.definition
Class AdviceStackDefinition

java.lang.Object
  extended byorg.codehaus.aspectwerkz.definition.AdviceStackDefinition
All Implemented Interfaces:
java.io.Serializable

public class AdviceStackDefinition
extends java.lang.Object
implements java.io.Serializable

Holds the advice stack definition.

Author:
Jonas Bonér
See Also:
Serialized Form

Constructor Summary
AdviceStackDefinition()
           
 
Method Summary
 void addAdvice(java.lang.String advice)
          Adds the name of an advice.
 java.util.List getAdviceRefs()
          Returns the name of the advices as list.
 java.lang.String getName()
          Returns the name of the advice stack.
 void setName(java.lang.String name)
          Sets the name of the advice stack.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdviceStackDefinition

public AdviceStackDefinition()
Method Detail

getName

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

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name of the advice stack.

Parameters:
name - the name

getAdviceRefs

public java.util.List getAdviceRefs()
Returns the name of the advices as list.

Returns:
the name of the advices

addAdvice

public void addAdvice(java.lang.String advice)
Adds the name of an advice.

Parameters:
advice - the names of the advice


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