org.codehaus.wadi.impl
Class LazyAttributes

java.lang.Object
  extended byorg.codehaus.wadi.impl.StandardAttributes
      extended byorg.codehaus.wadi.impl.DistributableAttributes
          extended byorg.codehaus.wadi.impl.LazyAttributes
All Implemented Interfaces:
Attributes, Config, DistributableValueConfig, SerializableContent, ValueConfig

public class LazyAttributes
extends DistributableAttributes


Field Summary
protected  byte[] _bytes
           
protected static Log _log
           
 
Fields inherited from class org.codehaus.wadi.impl.DistributableAttributes
_listenerNames
 
Fields inherited from class org.codehaus.wadi.impl.StandardAttributes
_config, _map
 
Constructor Summary
LazyAttributes(AttributesConfig config, Map map)
           
 
Method Summary
 void clear()
           
protected  void deserialise()
           
 Object get(Object key)
           
 Set getListenerNames()
           
 Set keySet()
           
 Object put(Object key, Object newValue)
           
 void readContent(ObjectInput oi)
           
 Object remove(Object key)
           
protected  void serialise()
           
 int size()
           
 void writeContent(ObjectOutput oo)
           
 
Methods inherited from class org.codehaus.wadi.impl.DistributableAttributes
findHelper, getHttpSessionAttributeListenersRegistered, getHttpSessionEvent, getStreamer, isListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected static final Log _log

_bytes

protected transient byte[] _bytes
Constructor Detail

LazyAttributes

public LazyAttributes(AttributesConfig config,
                      Map map)
Method Detail

deserialise

protected void deserialise()

serialise

protected void serialise()
                  throws IOException
Throws:
IOException

get

public Object get(Object key)
Specified by:
get in interface Attributes
Overrides:
get in class StandardAttributes

remove

public Object remove(Object key)
Specified by:
remove in interface Attributes
Overrides:
remove in class DistributableAttributes

put

public Object put(Object key,
                  Object newValue)
Specified by:
put in interface Attributes
Overrides:
put in class DistributableAttributes

size

public int size()
Specified by:
size in interface Attributes
Overrides:
size in class StandardAttributes

keySet

public Set keySet()
Specified by:
keySet in interface Attributes
Overrides:
keySet in class StandardAttributes

clear

public void clear()
Specified by:
clear in interface Attributes
Overrides:
clear in class StandardAttributes

getListenerNames

public Set getListenerNames()
Overrides:
getListenerNames in class DistributableAttributes

writeContent

public void writeContent(ObjectOutput oo)
                  throws IOException
Specified by:
writeContent in interface SerializableContent
Overrides:
writeContent in class DistributableAttributes
Throws:
IOException

readContent

public void readContent(ObjectInput oi)
                 throws IOException,
                        ClassNotFoundException
Specified by:
readContent in interface SerializableContent
Overrides:
readContent in class DistributableAttributes
Throws:
IOException
ClassNotFoundException


Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.