org.jboss.aop
Class ReflectiveAspectBinder
java.lang.Object
org.jboss.aop.ReflectiveAspectBinder
public class ReflectiveAspectBinder
- extends Object
comment
- Author:
- Bill Burke
Method Summary |
protected void |
bindConstructorAdvice(Constructor<?> mi,
Collection<AdviceBinding> bindings)
|
protected void |
bindConstructorAdvice(Constructor<?> mi,
Map<String,AdviceBinding> bindings)
Deprecated. |
protected void |
bindFieldAdvices(ClassifiedBindingAndPointcutCollection bindingCol)
|
protected void |
bindFieldGetAdvice(Field mi,
Collection<AdviceBinding> bindings)
|
protected void |
bindFieldGetAdvice(Field mi,
Map<String,AdviceBinding> bindings)
Deprecated. |
protected void |
bindFieldSetAdvice(Field mi,
Collection<AdviceBinding> bindings)
|
protected void |
bindFieldSetAdvice(Field mi,
Map<String,AdviceBinding> bindings)
Deprecated. |
protected void |
bindLifecycles()
|
protected void |
bindMethodAdvice(Method mi,
Collection<AdviceBinding> bindings)
|
protected void |
bindMethodAdvice(Method mi,
Map<String,AdviceBinding> bindings)
Deprecated. |
protected void |
bindMethodAdvices(Class<?> superClass,
ClassifiedBindingAndPointcutCollection bindingCol)
|
void |
createMethodMap(Class<?> superClass)
|
HashSet<AspectDefinition> |
getAspects()
|
Class<?> |
getClazz()
|
HashMap<Constructor<?>,ArrayList<InterceptorFactory>> |
getConstructorAdvices()
|
HashMap<Field,ArrayList<InterceptorFactory>> |
getFieldReadAdvices()
|
HashMap<Field,ArrayList<InterceptorFactory>> |
getFieldWriteAdvices()
|
Map<Object,Set<LifecycleCallbackDefinition>> |
getLifecycleCallbacks()
|
HashMap<Method,ArrayList<InterceptorFactory>> |
getMethodAdvices()
|
protected boolean |
matches(AnnotationIntroduction ai,
Object element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
protected Class<?> clazz
aspects
protected HashSet<AspectDefinition> aspects
methodAdvices
protected HashMap<Method,ArrayList<InterceptorFactory>> methodAdvices
constructorAdvices
protected HashMap<Constructor<?>,ArrayList<InterceptorFactory>> constructorAdvices
fieldReadAdvices
protected HashMap<Field,ArrayList<InterceptorFactory>> fieldReadAdvices
fieldWriteAdvices
protected HashMap<Field,ArrayList<InterceptorFactory>> fieldWriteAdvices
advisor
protected Advisor advisor
isInstanceContainer
protected boolean isInstanceContainer
lifecycleCallbacks
protected Map<Object,Set<LifecycleCallbackDefinition>> lifecycleCallbacks
ReflectiveAspectBinder
public ReflectiveAspectBinder(Class<?> clazz,
Advisor advisor)
getClazz
public Class<?> getClazz()
getAspects
public HashSet<AspectDefinition> getAspects()
getLifecycleCallbacks
public Map<Object,Set<LifecycleCallbackDefinition>> getLifecycleCallbacks()
getMethodAdvices
public HashMap<Method,ArrayList<InterceptorFactory>> getMethodAdvices()
getConstructorAdvices
public HashMap<Constructor<?>,ArrayList<InterceptorFactory>> getConstructorAdvices()
getFieldReadAdvices
public HashMap<Field,ArrayList<InterceptorFactory>> getFieldReadAdvices()
getFieldWriteAdvices
public HashMap<Field,ArrayList<InterceptorFactory>> getFieldWriteAdvices()
createMethodMap
public void createMethodMap(Class<?> superClass)
bindMethodAdvices
protected void bindMethodAdvices(Class<?> superClass,
ClassifiedBindingAndPointcutCollection bindingCol)
bindFieldAdvices
protected void bindFieldAdvices(ClassifiedBindingAndPointcutCollection bindingCol)
matches
protected boolean matches(AnnotationIntroduction ai,
Object element)
bindMethodAdvice
@Deprecated
protected void bindMethodAdvice(Method mi,
Map<String,AdviceBinding> bindings)
- Deprecated.
bindMethodAdvice
protected void bindMethodAdvice(Method mi,
Collection<AdviceBinding> bindings)
- Parameters:
mi
- bindings
- a collection of bindings classified as EXECUTION
bindConstructorAdvice
@Deprecated
protected void bindConstructorAdvice(Constructor<?> mi,
Map<String,AdviceBinding> bindings)
- Deprecated.
bindConstructorAdvice
protected void bindConstructorAdvice(Constructor<?> mi,
Collection<AdviceBinding> bindings)
bindFieldGetAdvice
@Deprecated
protected void bindFieldGetAdvice(Field mi,
Map<String,AdviceBinding> bindings)
- Deprecated.
bindFieldGetAdvice
protected void bindFieldGetAdvice(Field mi,
Collection<AdviceBinding> bindings)
bindFieldSetAdvice
@Deprecated
protected void bindFieldSetAdvice(Field mi,
Map<String,AdviceBinding> bindings)
- Deprecated.
bindFieldSetAdvice
protected void bindFieldSetAdvice(Field mi,
Collection<AdviceBinding> bindings)
bindLifecycles
protected void bindLifecycles()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.