org.codehaus.wadi.impl
Class LazyValue

java.lang.Object
  extended byorg.codehaus.wadi.impl.StandardValue
      extended byorg.codehaus.wadi.impl.DistributableValue
          extended byorg.codehaus.wadi.impl.LazyValue
All Implemented Interfaces:
SerializableContent, Value

public class LazyValue
extends DistributableValue


Field Summary
protected  byte[] _bytes
           
protected  boolean _listener
           
protected static Log _log
           
 
Fields inherited from class org.codehaus.wadi.impl.DistributableValue
_helper
 
Fields inherited from class org.codehaus.wadi.impl.StandardValue
_config, _value
 
Constructor Summary
LazyValue(DistributableValueConfig config)
           
 
Method Summary
protected  void deserialise()
           
 Object getValue()
           
 boolean isListener()
           
 void readContent(ObjectInput oi)
           
protected  void serialise()
           
 Object setValue(Object newValue)
           
 void writeContent(ObjectOutput oo)
           
 
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

_listener

protected transient boolean _listener

_bytes

protected transient byte[] _bytes
Constructor Detail

LazyValue

public LazyValue(DistributableValueConfig config)
Method Detail

deserialise

protected void deserialise()

serialise

protected void serialise()
                  throws IOException
Throws:
IOException

getValue

public Object getValue()
Specified by:
getValue in interface Value
Overrides:
getValue in class StandardValue

setValue

public Object setValue(Object newValue)
Specified by:
setValue in interface Value
Overrides:
setValue in class DistributableValue

writeContent

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

readContent

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

isListener

public boolean isListener()


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