站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ListEntityInterceptor (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.proxy.ejb
Class ListEntityInterceptor

java.lang.Object
  extended byorg.jboss.proxy.Interceptor
      extended byorg.jboss.proxy.ejb.GenericEJBInterceptor
          extended byorg.jboss.proxy.ejb.EntityInterceptor
              extended byorg.jboss.proxy.ejb.ListEntityInterceptor
All Implemented Interfaces:
Externalizable, Serializable

public class ListEntityInterceptor
extends EntityInterceptor

An EJB CMP entity bean proxy class holds info about the List that the entity belongs to, is used for reading ahead.

Version:
$Revision: 1.4 $
Author:
Oleg Nitz
See Also:
Serialized Form

Field Summary
protected static Method GET_READ_AHEAD_VALUES
           
 
Fields inherited from class org.jboss.proxy.ejb.GenericEJBInterceptor
EQUALS, GET_EJB_HOME, GET_HANDLE, GET_PRIMARY_KEY, HASH_CODE, IS_IDENTICAL, TO_STRING
 
Fields inherited from class org.jboss.proxy.Interceptor
nextInterceptor
 
Constructor Summary
ListEntityInterceptor()
          No-argument constructor for externalization.
ListEntityInterceptor(List list)
          Construct a ListEntityProxy.
 
Method Summary
 Map getReadAheadValues()
           
 Object invoke(Invocation invocation)
          InvocationHandler implementation.
 void readExternal(ObjectInput in)
          Externalization support.
 void writeExternal(ObjectOutput out)
          Externalization support.
 
Methods inherited from class org.jboss.proxy.ejb.GenericEJBInterceptor
getEJBHome
 
Methods inherited from class org.jboss.proxy.Interceptor
getNext, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_READ_AHEAD_VALUES

protected static final Method GET_READ_AHEAD_VALUES
Constructor Detail

ListEntityInterceptor

public ListEntityInterceptor()
No-argument constructor for externalization.


ListEntityInterceptor

public ListEntityInterceptor(List list)
Construct a ListEntityProxy.

Parameters:
list - A List that this entity belongs to (used for reading ahead).
Throws:
NullPointerException - Id may not be null.
Method Detail

getReadAheadValues

public Map getReadAheadValues()

invoke

public Object invoke(Invocation invocation)
              throws Throwable
InvocationHandler implementation.

Overrides:
invoke in class EntityInterceptor
Throws:
Throwable - Any exception or error thrown while processing.

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Externalization support.

Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class Interceptor
Parameters:
out -
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Externalization support.

Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class Interceptor
Parameters:
in -
Throws:
IOException
ClassNotFoundException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.