public class AnimalInterceptor extends Object
| Constructor and Description |
|---|
AnimalInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
intercept(javax.interceptor.InvocationContext ctx) |
static boolean |
isPostConstructInterceptorCalled(String animalType) |
static boolean |
isPreDestroyInterceptorCalled(String animalType) |
void |
postConstruct(javax.interceptor.InvocationContext ctx) |
void |
preDestroy(javax.interceptor.InvocationContext ctx) |
@PostConstruct public void postConstruct(javax.interceptor.InvocationContext ctx)
public Object intercept(javax.interceptor.InvocationContext ctx) throws Exception
Exception@PreDestroy public void preDestroy(javax.interceptor.InvocationContext ctx)
public static boolean isPostConstructInterceptorCalled(String animalType)
public static boolean isPreDestroyInterceptorCalled(String animalType)
Copyright © 2008–2016 CDI TCK. All rights reserved.