@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
Exceptionpublic boolean isStereotype(Class<? extends Annotation> annotationType)
StereotypesisStereotype in interface StereotypesannotationType - the type to checkpublic Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
StereotypesgetStereotypeDefinition in interface Stereotypesstereotype - a sterotype annotation (Stereotypes.isStereotype(Class) was true)Copyright © 2019. All rights reserved.