|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.aop.advice.GenericInterceptorFactory
public class GenericInterceptorFactory
| Constructor Summary | |
|---|---|
GenericInterceptorFactory(Class<?> clazz)
|
|
GenericInterceptorFactory(String classname,
Element element)
|
|
| Method Summary | |
|---|---|
Interceptor |
create(Advisor advisor,
Joinpoint joinpoint)
Creates an interceptor that represents this advice and that delegates execution to this advice. |
boolean |
equals(Object obj)
|
String |
getAdvice()
Returns the advice method name. |
AspectDefinition |
getAspect()
Returns the aspect definition, a record of the class that contains the interceptor method. |
String |
getClassName()
|
String |
getName()
Returns the name that identifies this interceptor/advice. |
AdviceType |
getType()
Returns the type of this advice. |
boolean |
isDeployed()
Indicates whether this interceptor/advice is deployed. |
void |
undeploy()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericInterceptorFactory(String classname,
Element element)
public GenericInterceptorFactory(Class<?> clazz)
| Method Detail |
|---|
public String getName()
InterceptorFactory
getName in interface InterceptorFactorypublic AspectDefinition getAspect()
InterceptorFactory
getAspect in interface InterceptorFactorypublic String getAdvice()
InterceptorFactory
getAdvice in interface InterceptorFactorypublic void undeploy()
public boolean isDeployed()
InterceptorFactory
isDeployed in interface InterceptorFactorypublic String getClassName()
public Interceptor create(Advisor advisor,
Joinpoint joinpoint)
InterceptorFactory
create in interface InterceptorFactoryadvisor - advisor, indicates an instance or class where the interception
will occurjoinpoint - the joinpoint that will be intercepted
public boolean equals(Object obj)
equals in class Objectpublic AdviceType getType()
InterceptorFactory
getType in interface InterceptorFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||