当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
ManagedEntityIdentityInterceptor (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.interceptors
Class ManagedEntityIdentityInterceptor
java.lang.Object
org.jboss.seam.interceptors.AbstractInterceptor
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor
- All Implemented Interfaces:
- Serializable, OptimizedInterceptor
@Interceptor(around=BijectionInterceptor.class)
public class ManagedEntityIdentityInterceptor
- 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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedEntityIdentityInterceptor
public ManagedEntityIdentityInterceptor()
aroundInvoke
@AroundInvoke
public Object aroundInvoke(InvocationContext ctx)
throws Exception
- Throws:
Exception
entityRefsToIds
public void entityRefsToIds(InvocationContext ctx)
throws Exception
- Throws:
Exception
entityIdsToRefs
public void entityIdsToRefs(InvocationContext ctx)
throws Exception
- Throws:
Exception