org.codehaus.wadi.core.session
Class LazyAttributes

java.lang.Object
  extended by org.codehaus.wadi.core.session.StandardAttributes
      extended by org.codehaus.wadi.core.session.DistributableAttributes
          extended by org.codehaus.wadi.core.session.LazyAttributes
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, Attributes

public class LazyAttributes
extends DistributableAttributes

Version:
$Revision: 2283 $
Author:
Jules Gosnell
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log _log
           
protected  byte[] bytes
           
 
Fields inherited from class org.codehaus.wadi.core.session.StandardAttributes
memento, valueFactory
 
Constructor Summary
LazyAttributes(ValueFactory valueFactory)
           
 
Method Summary
protected  void deserialise()
           
protected  java.util.Map getAttributesMap()
           
 void readExternal(java.io.ObjectInput oi)
           
protected  byte[] serialise()
           
 void writeExternal(java.io.ObjectOutput oo)
           
 
Methods inherited from class org.codehaus.wadi.core.session.DistributableAttributes
newMemento
 
Methods inherited from class org.codehaus.wadi.core.session.StandardAttributes
clear, containsKey, get, getMemento, isEmpty, keySet, put, remove, setMemento, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected static final org.apache.commons.logging.Log _log

bytes

protected byte[] bytes
Constructor Detail

LazyAttributes

public LazyAttributes(ValueFactory valueFactory)
Method Detail

getAttributesMap

protected java.util.Map getAttributesMap()
Overrides:
getAttributesMap in class StandardAttributes

deserialise

protected void deserialise()

serialise

protected byte[] serialise()
                    throws java.io.IOException
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput oo)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class DistributableAttributes
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput oi)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class DistributableAttributes
Throws:
java.io.IOException
java.lang.ClassNotFoundException


Copyright © 2011. All Rights Reserved.