com.lonniepryor.blues.cfg
Interface AdviceCfg

All Known Implementing Classes:
AdviceCfgImpl

public interface AdviceCfg

Defines the requirements for a Blues advice configuration.

Version:
$Revision: 1.1 $
Author:
Lonnie Pryor

Field Summary
static Types validAdviceTypes
          A specification satisfied by JavaBeans that implement an advice interface.
 
Method Summary
 void configure(java.lang.Object adviceInstance, Directory serviceDirectory)
          Configures an instance of the advice type.
 java.lang.Class getAdviceType()
          Return the type used to implement the advice.
 Pointcut getPointcutToAdvise()
          Returns the specification used to evaluate join points for this advice.
 

Field Detail

validAdviceTypes

public static final Types validAdviceTypes
A specification satisfied by JavaBeans that implement an advice interface.

Method Detail

getAdviceType

public java.lang.Class getAdviceType()
Return the type used to implement the advice.

Returns:
The type used to implement the advice.

getPointcutToAdvise

public Pointcut getPointcutToAdvise()
Returns the specification used to evaluate join points for this advice.

Returns:
The specification used to evaluate join points for this advice.

configure

public void configure(java.lang.Object adviceInstance,
                      Directory serviceDirectory)
Configures an instance of the advice type.

Parameters:
adviceInstance - The instance of the advice type to coinfigure.
serviceDirectory - The directory to look up refrenced services in.


Copyright © 2003 Blues Framework. All Rights Reserved.