站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.jboss.seam.interceptors.AbstractInterceptor
      extended by 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

Constructor Summary
ManagedEntityIdentityInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext ctx)
           
 void entityIdsToRefs(InvocationContext ctx)
           
 void entityRefsToIds(InvocationContext ctx)
           
 
Methods inherited from class org.jboss.seam.interceptors.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedEntityIdentityInterceptor

public ManagedEntityIdentityInterceptor()
Method Detail

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