站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

ObjectEntry - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.security.impl.store
Class ObjectEntry

java.lang.Object
  extended byorg.jboss.portal.security.impl.store.ObjectEntry
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ObjectEntry
extends java.lang.Object
implements java.io.Externalizable

Represent an entry in the map of the cache adapter.

See Also:
Serialized Form

Constructor Summary
ObjectEntry()
          Necessary for externalizable.
ObjectEntry(java.lang.Object value)
          Construct a new entry for the given value.
 
Method Summary
 java.lang.String getUUID()
           
 java.lang.Object getValue()
           
 void readExternal(java.io.ObjectInput in)
          Read the value on the stream and generate a new uuid.
 void writeExternal(java.io.ObjectOutput out)
          Write the value on the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectEntry

public ObjectEntry()
Necessary for externalizable.


ObjectEntry

public ObjectEntry(java.lang.Object value)
Construct a new entry for the given value.

Method Detail

getUUID

public java.lang.String getUUID()

getValue

public java.lang.Object getValue()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Read the value on the stream and generate a new uuid.

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Write the value on the stream.

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException