org.jboss.seam.persistence
Class ManagedEntityInterceptor
java.lang.Object
org.jboss.seam.intercept.AbstractInterceptor
org.jboss.seam.persistence.ManagedEntityInterceptor
- All Implemented Interfaces:
- Serializable, OptimizedInterceptor
@Interceptor(around=BijectionInterceptor.class)
public class ManagedEntityInterceptor
- extends AbstractInterceptor
Swizzles entity references around each invocation, maintaining referential
integrity even across passivation of the stateful bean or Seam-managed
extended persistence context, and allowing for more efficient replication.
- Author:
- Gavin King, Pete Muir
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedEntityInterceptor
public ManagedEntityInterceptor()
aroundInvoke
@AroundInvoke
public Object aroundInvoke(InvocationContext ctx)
throws Exception
- Throws:
Exception
isInterceptorEnabled
public boolean isInterceptorEnabled()
- Description copied from interface:
OptimizedInterceptor
- Returns true if this interceptor should be enabled. The component and the
annotation will be injected into the interceptor instance before this
method is called, and can be used to decide whether the interceptor should
be enabled
Copyright © 2013 Seam Framework. All Rights Reserved.