public class ScopedInterceptorFactory extends Object implements InterceptorFactory
| Constructor and Description |
|---|
ScopedInterceptorFactory(AspectDefinition aspect) |
| 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 |
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.
|
public ScopedInterceptorFactory(AspectDefinition aspect)
public AspectDefinition getAspect()
InterceptorFactorygetAspect in interface InterceptorFactorypublic String getAdvice()
InterceptorFactorygetAdvice in interface InterceptorFactorypublic AdviceType getType()
InterceptorFactorygetType in interface InterceptorFactorypublic boolean isDeployed()
InterceptorFactoryisDeployed in interface InterceptorFactorypublic 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 String getName()
InterceptorFactorygetName in interface InterceptorFactoryCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.