org.jboss.seam.persistence
Class EntityManagerProxyInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.AbstractInterceptor
      extended by org.jboss.seam.persistence.EntityManagerProxyInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

@Interceptor(stateless=true)
public class EntityManagerProxyInterceptor
extends AbstractInterceptor

Proxy the EntityManager if injected using @PersistenceContext

Author:
Pete Muir
See Also:
Serialized Form

Constructor Summary
EntityManagerProxyInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext ic)
           
 void postActivate(InvocationContext invocation)
           
 void postConstruct(InvocationContext invocation)
           
 
Methods inherited from class org.jboss.seam.intercept.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityManagerProxyInterceptor

public EntityManagerProxyInterceptor()
Method Detail

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