org.jboss.ejb3.interceptors.container
Interface BeanContext<T>
- All Known Implementing Classes:
- DummyBeanContext
public interface BeanContext<T>
The intercepted component consisting of a bean instance and the interceptor
instances.
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
getInstance
T getInstance()
- Returns:
- the bean instance
getInterceptor
Object getInterceptor(Class<?> interceptorClass)
throws IllegalArgumentException
- Get the EJB3 interceptor of a certain type.
- Parameters:
interceptorClass
- the interceptor type to get
- Returns:
- the interceptor
- Throws:
IllegalArgumentException
- if no interceptor of that class is associated
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.