public abstract class JoinPointInfo extends Object implements JoinPointBean
Modifier and Type | Field and Description |
---|---|
protected WeakReference<Class<?>> |
clazz |
Interceptor[] |
interceptors
Deprecated.
Use the accessors. Only public for backwards compatiblity with EJB3
|
protected Joinpoint |
joinpoint |
Modifier | Constructor and Description |
---|---|
protected |
JoinPointInfo() |
protected |
JoinPointInfo(Advisor advisor,
Class<?> clazz) |
protected |
JoinPointInfo(JoinPointInfo other) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
cloneChains(JoinPointInfo other) |
abstract JoinPointInfo |
copy() |
boolean |
equalChains(Interceptor[] otherInterceptors) |
String |
getAdviceString() |
Advisor |
getAdvisor()
Gets the advisor
|
Class<?> |
getClazz()
Gets the advisor's class
|
ArrayList<Interceptor> |
getInterceptorChain() |
ReentrantReadWriteLock |
getInterceptorChainReadWriteLock() |
Interceptor[] |
getInterceptors() |
Joinpoint |
getJoinpoint() |
boolean |
hasAdvices() |
protected abstract Joinpoint |
internalGetJoinpoint() |
protected void |
resetChainKeepInterceptors() |
protected void |
resetInterceptors() |
<T extends Annotation> |
resolveAnnotation(Class<T> annotation)
Resolves annotations on the particular joinpoint (field, constructor, method etc.)
|
<T extends Annotation> |
resolveClassAnnotation(Class<T> annotation)
Resolves annotations for the class
|
Object |
resolveClassMetaData(Object key,
Object attr)
Resolves metadata on the class
|
void |
setAdvisor(Advisor advisor) |
void |
setInterceptors(Interceptor[] interceptors) |
public Interceptor[] interceptors
protected volatile Joinpoint joinpoint
protected WeakReference<Class<?>> clazz
protected JoinPointInfo()
protected JoinPointInfo(JoinPointInfo other)
protected void clear()
protected void resetChainKeepInterceptors()
protected void resetInterceptors()
public Advisor getAdvisor()
JoinPointBean
getAdvisor
in interface JoinPointBean
public Class<?> getClazz()
JoinPointBean
getClazz
in interface JoinPointBean
public void setAdvisor(Advisor advisor)
public boolean hasAdvices()
public boolean equalChains(Interceptor[] otherInterceptors)
public Joinpoint getJoinpoint()
public ArrayList<Interceptor> getInterceptorChain()
public Interceptor[] getInterceptors()
public void setInterceptors(Interceptor[] interceptors)
protected abstract Joinpoint internalGetJoinpoint()
public abstract JoinPointInfo copy()
public Object resolveClassMetaData(Object key, Object attr)
JoinPointBean
resolveClassMetaData
in interface JoinPointBean
public <T extends Annotation> T resolveClassAnnotation(Class<T> annotation)
JoinPointBean
resolveClassAnnotation
in interface JoinPointBean
public <T extends Annotation> T resolveAnnotation(Class<T> annotation)
JoinPointBean
resolveAnnotation
in interface JoinPointBean
public void cloneChains(JoinPointInfo other)
public String getAdviceString()
public final ReentrantReadWriteLock getInterceptorChainReadWriteLock()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.