Interface org.as2lib.aop.pointcut.PointcutFactory

org.as2lib.core.BasicInterface
   +--org.as2lib.aop.pointcut.PointcutFactory

Description

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.

Method Index

getPointcut()

Inherited from BasicInterface

toString()

Method Detail

getPointcut

public function getPointcut(pattern:String):Pointcut

Returns a pointcut based on the passed-in pattern representation.

Parameters

patternthe string representation of the pointcut

Return

the object-oriented view of the passed-in pointcut pattern