public class GeneratedInstanceAdvisorMixin.InstanceInterceptorFactory extends Object implements 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 |
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.
|
public Interceptor create(Advisor advisor, Joinpoint joinpoint)
InterceptorFactory
create
in interface InterceptorFactory
advisor
- advisor, indicates an instance or class where the interception
will occurjoinpoint
- the joinpoint that will be interceptedpublic String getClassName()
public String getAdvice()
InterceptorFactory
getAdvice
in interface InterceptorFactory
public AspectDefinition getAspect()
InterceptorFactory
getAspect
in interface InterceptorFactory
public String getName()
InterceptorFactory
getName
in interface InterceptorFactory
public boolean isDeployed()
InterceptorFactory
isDeployed
in interface InterceptorFactory
public AdviceType getType()
InterceptorFactory
getType
in interface InterceptorFactory
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.