public class ClassifiedBindingAndPointcutCollection extends Object
For internal use only.
Constructor and Description |
---|
ClassifiedBindingAndPointcutCollection()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(AdviceBinding binding,
AspectManager manager)
Adds a binding to this collection.
|
void |
add(Pointcut pointcut,
AspectManager manager)
Adds a pointcut to this collection
|
LinkedHashMap<String,AdviceBinding> |
getBindings()
Returns the bindings map.
|
LinkedHashMap<String,AdviceBinding> |
getBindingsInternal()
Deprecated.
|
Collection<AdviceBinding> |
getConstructionBindings()
Returns only the bindings whose pointcuts may match successfully construction
joinpoints.
|
Collection<PointcutInfo> |
getConstructionPointcutInfos()
Returns only the pointcut infos that may match successfully construction
joinpoints.
|
Collection<Pointcut> |
getConstructionPointcuts()
Returns only the pointcuts that may match successfully construction
joinpoints.
|
Collection<AdviceBinding> |
getConstructorCallBindings()
Returns only the bindings whose pointcuts may match successfully constructor
call joinpoints.
|
Collection<PointcutInfo> |
getConstructorCallPointcutInfos()
Returns only the pointcut infos that may match successfully constructor
call joinpoints.
|
Collection<Pointcut> |
getConstructorCallPointcuts()
Returns only the pointcuts that may match successfully constructor
call joinpoints.
|
Collection<AdviceBinding> |
getConstructorExecutionBindings()
Returns only the bindings whose pointcuts may match successfully constructor
execution joinpoints.
|
Collection<PointcutInfo> |
getConstructorExecutionPointcutInfos()
Returns only the pointcut infos that may match successfully constructor
execution joinpoints.
|
Collection<Pointcut> |
getConstructorExecutionPointcuts()
Returns only the pointcuts that may match successfully constructor
execution joinpoints.
|
Collection<AdviceBinding> |
getFieldReadBindings()
Returns only the bindings whose pointcuts may match successfully field read
joinpoints.
|
Collection<PointcutInfo> |
getFieldReadPointcutInfos()
Returns only the pointcut infos that may match successfully field read
joinpoints.
|
Collection<Pointcut> |
getFieldReadPointcuts()
Returns only the pointcuts that may match successfully field read
joinpoints.
|
Collection<AdviceBinding> |
getFieldWriteBindings()
Returns only the bindings whose pointcuts may match successfully field write
joinpoints.
|
Collection<PointcutInfo> |
getFieldWritePointcutInfos()
Returns only the pointcut infos that may match successfully field write
joinpoints.
|
Collection<Pointcut> |
getFieldWritePointcuts()
Returns only the pointcuts that may match successfully field write
joinpoints.
|
Collection<AdviceBinding> |
getMethodCallBindings()
Returns only the bindings whose pointcuts may match successfully method
call joinpoints.
|
Collection<PointcutInfo> |
getMethodCallPointcutInfos()
Returns only the pointcut infos that may match successfully method
call joinpoints.
|
Collection<Pointcut> |
getMethodCallPointcuts()
Returns only the pointcuts that may match successfully method
call joinpoints.
|
Collection<AdviceBinding> |
getMethodExecutionBindings()
Returns only the bindings whose pointcuts may match successfully method
execution joinpoints.
|
Collection<PointcutInfo> |
getMethodExecutionPointcutInfos()
Returns only the pointcut infos that may match successfully method
execution joinpoints.
|
Collection<Pointcut> |
getMethodExecutionPointcuts()
Returns only the pointcuts that may match successfully method
execution joinpoints.
|
Pointcut |
getPointcut(String name)
Gets the pointcut named
name |
LinkedHashMap<String,PointcutInfo> |
getPointcutInfos()
Returns the pointcutInfos map.
|
LinkedHashMap<String,PointcutInfo> |
getPointcutInfosInternal()
Deprecated.
|
LinkedHashMap<String,Pointcut> |
getPointcuts()
Returns the pointcuts map.
|
LinkedHashMap<String,Pointcut> |
getPointcutsInternal()
Deprecated.
|
boolean |
hasPointcuts()
Check if there are any pointcuts stored at this level
|
boolean |
isCall() |
boolean |
isConstruction() |
boolean |
isEmpty()
Indicate whether this collection is empty.
|
boolean |
isExecution() |
boolean |
isGet() |
boolean |
isSet() |
boolean |
isWithin() |
boolean |
isWithincode() |
AdviceBinding |
removeBinding(String name)
Removes the binding named
name . |
ArrayList<AdviceBinding> |
removeBindings(ArrayList<String> names)
Removes all bindings whose names are contained in
names . |
void |
removePointcut(Pointcut pc)
Removes the pointcut and the equivalent pointcutInfo.
|
void |
removePointcut(String name)
Removes the pointcut and pointcutInfo named
name |
void |
updateStats(PointcutStats stats) |
public ClassifiedBindingAndPointcutCollection()
public boolean hasPointcuts()
public Collection<AdviceBinding> getFieldReadBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getFieldWriteBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getConstructionBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getConstructorExecutionBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getMethodExecutionBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getConstructorCallBindings()
Attention: this collection is not supposed to be edited.
public Collection<AdviceBinding> getMethodCallBindings()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getFieldReadPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getFieldWritePointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getConstructionPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getConstructorExecutionPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getMethodExecutionPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getConstructorCallPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<Pointcut> getMethodCallPointcuts()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getFieldReadPointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getFieldWritePointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getConstructionPointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getConstructorExecutionPointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getMethodExecutionPointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getConstructorCallPointcutInfos()
Attention: this collection is not supposed to be edited.
public Collection<PointcutInfo> getMethodCallPointcutInfos()
Attention: this collection is not supposed to be edited.
public boolean isEmpty()
public LinkedHashMap<String,AdviceBinding> getBindings()
@Deprecated public LinkedHashMap<String,AdviceBinding> getBindingsInternal()
public LinkedHashMap<String,Pointcut> getPointcuts()
@Deprecated public LinkedHashMap<String,Pointcut> getPointcutsInternal()
public LinkedHashMap<String,PointcutInfo> getPointcutInfos()
@Deprecated public LinkedHashMap<String,PointcutInfo> getPointcutInfosInternal()
public void add(AdviceBinding binding, AspectManager manager)
public void add(Pointcut pointcut, AspectManager manager)
public AdviceBinding removeBinding(String name)
name
.name
- name of the binding to be removed.null
, indicates that there is no
binding with name equal to name
in this collection.public void removePointcut(String name)
name
name
- the name of the pointcut to be removedpublic Pointcut getPointcut(String name)
name
name
- the name of the pointcut to getpublic ArrayList<AdviceBinding> removeBindings(ArrayList<String> names)
names
.names
- names of all bindings to be removedpublic boolean isExecution()
public boolean isConstruction()
public boolean isCall()
public boolean isWithin()
public boolean isWithincode()
public boolean isGet()
public boolean isSet()
public void removePointcut(Pointcut pc)
pc
- the pointcut to be removedpublic void updateStats(PointcutStats stats)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.