|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lonniepryor.blues.cfg.AbstractBeanCfg | +--com.lonniepryor.blues.cfg.AdviceCfgImpl
Generic implementation of AdviceCfg
.
Field Summary |
Fields inherited from interface com.lonniepryor.blues.cfg.AdviceCfg |
validAdviceTypes |
Constructor Summary | |
AdviceCfgImpl()
Creates a new AdviceCfgImpl object. |
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. |
void |
setClass(java.lang.Class adviceType)
Sets the type used to implement the advice. |
void |
setPointcut(java.lang.String pointcutDef)
Sets the specification used to evaluate join points for this advice. |
void |
verify()
Verifies the state of this configuration element. |
Methods inherited from class com.lonniepryor.blues.cfg.AbstractBeanCfg |
configureBean, configureBean, declareSetBean, declareSetRefrence, declareSetValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdviceCfgImpl()
Method Detail |
public void setClass(java.lang.Class adviceType)
adviceType
- The type used to implement the advice.public void setPointcut(java.lang.String pointcutDef)
pointcutDef
- The pointcut pattern expression.public void verify()
Verifiable
verify
in interface Verifiable
public java.lang.Class getAdviceType()
AdviceCfg
getAdviceType
in interface AdviceCfg
public Pointcut getPointcutToAdvise()
AdviceCfg
getPointcutToAdvise
in interface AdviceCfg
public void configure(java.lang.Object adviceInstance, Directory serviceDirectory)
AdviceCfg
configure
in interface AdviceCfg
adviceInstance
- The instance of the advice type to coinfigure.serviceDirectory
- The directory to look up refrenced services in.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |