org.codehaus.aspectwerkz.xmldef.advice
Interface AdviceContainer

All Known Implementing Classes:
DefaultAdviceContainerStrategy

public interface AdviceContainer

Interface for the advice container implementations.

Author:
Jonas Bonér

Method Summary
 ContainerType getContainerType()
          Returns the memory type.
 java.lang.Object getPerClassAdvice(JoinPoint joinPoint)
          Returns the advice per class basis.
 java.lang.Object getPerInstanceAdvice(JoinPoint joinPoint)
          Returns the advice per instance basis.
 java.lang.Object getPerJvmAdvice(JoinPoint joinPoint)
          Returns the advice per JVM basis.
 java.lang.Object getPerThreadAdvice()
          Returns the advice for the current thread.
 

Method Detail

getPerJvmAdvice

public java.lang.Object getPerJvmAdvice(JoinPoint joinPoint)
Returns the advice per JVM basis.

Parameters:
joinPoint - the joint point
Returns:
the advice

getPerClassAdvice

public java.lang.Object getPerClassAdvice(JoinPoint joinPoint)
Returns the advice per class basis.

Parameters:
joinPoint - the joint point
Returns:
the advice

getPerInstanceAdvice

public java.lang.Object getPerInstanceAdvice(JoinPoint joinPoint)
Returns the advice per instance basis.

Parameters:
joinPoint - the joint point
Returns:
the advice

getPerThreadAdvice

public java.lang.Object getPerThreadAdvice()
Returns the advice for the current thread.

Returns:
the advice

getContainerType

public ContainerType getContainerType()
Returns the memory type.

Returns:
the memory type


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