org.jboss.seam.persistence
Class HibernateSessionProxyInterceptor
java.lang.Object
org.jboss.seam.intercept.AbstractInterceptor
org.jboss.seam.persistence.HibernateSessionProxyInterceptor
- All Implemented Interfaces:
- Serializable, OptimizedInterceptor
@Interceptor(stateless=true)
public class HibernateSessionProxyInterceptor
- extends AbstractInterceptor
Proxy the Hibernate Session if injected using @PersistenceContext
- Author:
- Pete Muir
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateSessionProxyInterceptor
public HibernateSessionProxyInterceptor()
aroundInvoke
@AroundInvoke
public Object aroundInvoke(InvocationContext ic)
throws Exception
- Throws:
Exception
postActivate
public void postActivate(InvocationContext invocation)
throws Exception
- Throws:
Exception
postConstruct
@PostConstruct
public void postConstruct(InvocationContext invocation)
throws Exception
- Throws:
Exception