public class PointcutInfo extends Object
Constructor and Description |
---|
PointcutInfo(Pointcut pointcut,
AdviceBinding binding,
boolean dynamicAop)
This constructor must be called only when a pointcut
is declared inside a binding.
|
PointcutInfo(Pointcut pointcut,
boolean dynamicAop)
Constructor that must be called only when a pointcut is declared
outside a binding.
|
Modifier and Type | Method and Description |
---|---|
AdviceBinding |
getBinding()
Returns the
AdviceBinding associated with the
pointcut. |
Pointcut |
getPointcut()
Returns the pointcut associated with this information.
|
boolean |
isDynamicAop()
Indicates if this pointcut was added to the system through a dynamic aop
operation.
|
void |
setDynamicAop(boolean ok) |
public PointcutInfo(Pointcut pointcut, AdviceBinding binding, boolean dynamicAop)
pointcut
- the pointcut.binding
- the binding associated with pointcut
.dynamicAop
- if true
, indicates that binding
was added during a dynamic aop operation (i.e., in runtime).public PointcutInfo(Pointcut pointcut, boolean dynamicAop)
pointcut
- the pointcut.dynamicAop
- if true
, indicates that binding
was added during a dynamic aop operation (i.e., in runtime).public Pointcut getPointcut()
public AdviceBinding getBinding()
AdviceBinding
associated with the
pointcut.org.jboss.aop.advice.AdviceBinding
.
May be null if this pointcut isn't associated with a binding.public boolean isDynamicAop()
public void setDynamicAop(boolean ok)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.