org.as2lib.core.BasicInterface +--org.as2lib.aop.pointcut.PointcutFactory
PointcutFactory
creates and returns pointcuts based on pointcut patterns.
A pointcut pattern consists of the join point's type, for example method
execution or get or set access join points.
execution(org.as2lib.env.Logger.debug)
set(org.as2lib.MyClass.myProperty)
get(org.as2lib.MyClass.myProperty)
A pointcut pattern may also be more complex by combining multiple pointcuts with
a specific logic.
execution(org.as2lib.env.Logger.debug) || set(org.as2lib.MyClass.myProperty)
Note that not all pointcuts allow all of the above ways to describe a pointcut pattern. This depends on the given implementation.
public function getPointcut(pattern:String):Pointcut
Returns a pointcut based on the passed-in pattern
representation.
pattern | the string representation of the pointcut |
the object-oriented view of the passed-in pointcut pattern