public class GenericInterceptorFactory extends Object implements InterceptorFactory
| Constructor and Description |
|---|
GenericInterceptorFactory(Class<?> clazz) |
GenericInterceptorFactory(String classname,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public GenericInterceptorFactory(Class<?> clazz)
public String getName()
InterceptorFactorygetName in interface InterceptorFactorypublic AspectDefinition getAspect()
InterceptorFactorygetAspect in interface InterceptorFactorypublic String getAdvice()
InterceptorFactorygetAdvice in interface InterceptorFactorypublic void undeploy()
public boolean isDeployed()
InterceptorFactoryisDeployed in interface InterceptorFactorypublic String getClassName()
public Interceptor create(Advisor advisor, Joinpoint joinpoint)
InterceptorFactorycreate in interface InterceptorFactoryadvisor - advisor, indicates an instance or class where the interception
will occurjoinpoint - the joinpoint that will be interceptedpublic AdviceType getType()
InterceptorFactorygetType in interface InterceptorFactoryCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.