@Interceptor @Priority(value=4015) public class FaultToleranceInterceptor extends Object implements Stereotypes, Serializable
Constructor and Description |
---|
FaultToleranceInterceptor() |
Modifier and Type | Method and Description |
---|---|
Set<Annotation> |
getStereotypeDefinition(Class<? extends Annotation> stereotype)
The sets of annotations the given sterotype annotation represents.
|
Object |
intercept(javax.interceptor.InvocationContext context) |
boolean |
isStereotype(Class<? extends Annotation> annotationType)
Checks for sterotype annotation.
|
public Object intercept(javax.interceptor.InvocationContext context) throws Exception
Exception
public boolean isStereotype(Class<? extends Annotation> annotationType)
Stereotypes
isStereotype
in interface Stereotypes
annotationType
- the type to checkpublic Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
Stereotypes
getStereotypeDefinition
in interface Stereotypes
stereotype
- a sterotype annotation (Stereotypes.isStereotype(Class)
was true
)Copyright © 2020. All rights reserved.