Access keys

AopConfig

Kind of class: class
Inherits from: BasicClass
Author: Simon Wacker
Classpath: org.as2lib.aop.AopConfig
File last modified: Monday, 18 July 2005, 19:57:56
AopConfig declares methods to configure core parts of the AOP framework.

Class methods

getDynamicAdviceFactory

static function getDynamicAdviceFactory (
Returns the set or the default dynamic advice factory. The defult factory is
an instance of the org.as2lib.aop.advice.SimpleDynamicAdviceFactory class.
Returns:
the set or the default dynamic advice factory

getMatcher

static function getMatcher (
Void) : Matcher
Returns either the set or the default matcher. The default matcher is an
instance of the org.as2lib.aop.matcher.WildcardMatcher class.
Returns:
the set or default matcher

getPointcutFactory

static function getPointcutFactory (
Returns the set pointcut factory or the default one. The default one is an
instance of the org.as2lib.aop.pointcut.DynamicPointcutFactory class.
Returns:
the set or default pointcut factory

setDynamicAdviceFactory

static function setDynamicAdviceFactory (
factory:DynamicAdviceFactory) : Void
Sets a new dynamic advice factory.
Parameters:
factory:
the new dynamic advice factory

setMatcher

static function setMatcher (
newMatcher:Matcher) : Void
Sets a new matcher.
Parameters:
newMatcher:
the new matcher

setPointcutFactory

static function setPointcutFactory (
factory:PointcutFactory) : Void
Sets a new pointcut factory.
Parameters:
factory:
the new pointcut factory