Class org.as2lib.aop.AopConfig

org.as2lib.core.BasicClass
   +--org.as2lib.aop.AopConfig

Description

AopConfig declares methods to configure core parts of the AOP framework.

Method Index

getDynamicAdviceFactory(), getMatcher(), getPointcutFactory(), setDynamicAdviceFactory(), setMatcher(), setPointcutFactory()

Inherited from BasicClass

toString()

Method Detail

setDynamicAdviceFactory

static public function setDynamicAdviceFactory(factory:DynamicAdviceFactory):Void

Sets a new dynamic advice factory.

Parameters

factorythe new dynamic advice factory

getDynamicAdviceFactory

static public function getDynamicAdviceFactory(Void):DynamicAdviceFactory

Returns the set or the default dynamic advice factory. The defult factory is an instance of the SimpleDynamicAdviceFactory class.

Return

the set or the default dynamic advice factory

setPointcutFactory

static public function setPointcutFactory(factory:PointcutFactory):Void

Sets a new pointcut factory.

Parameters

factorythe new pointcut factory

getPointcutFactory

static public function getPointcutFactory(Void):PointcutFactory

Returns the set pointcut factory or the default one. The default one is an instance of the DynamicPointcutFactory class.

Return

the set or default pointcut factory

setMatcher

static public function setMatcher(newMatcher:Matcher):Void

Sets a new matcher.

Parameters

newMatcherthe new matcher

getMatcher

static public function getMatcher(Void):Matcher

Returns either the set or the default matcher. The default matcher is an instance of the WildcardMatcher class.

Return

the set or default matcher