public interface InterceptorFactory
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.
|
String |
getAdvice()
Returns the advice method name.
|
AspectDefinition |
getAspect()
Returns the aspect definition, a record of the class that contains
the interceptor method.
|
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.
|
AspectDefinition getAspect()
String getAdvice()
Interceptor create(Advisor advisor, Joinpoint joinpoint)
advisor
- advisor, indicates an instance or class where the interception
will occurjoinpoint
- the joinpoint that will be interceptedboolean isDeployed()
String getName()
AdviceType getType()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.