com.sun.jini.outrigger.snaplogstore
Class BaseObject

java.lang.Object
  extended by com.sun.jini.outrigger.snaplogstore.BaseObject
All Implemented Interfaces:
StoredObject, Serializable
Direct Known Subclasses:
Resource

 class BaseObject
extends Object
implements StoredObject, Serializable

Top level wrapper class for persisting outrigger objects. The target object is serialized and stored here as a byte array.


Field Summary
private  byte[] blob
           
(package private) static long serialVersionUID
           
 
Constructor Summary
BaseObject(StorableObject object)
           
 
Method Summary
 void restore(StorableObject object)
          Restore the state of a StorableObject object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

blob

private byte[] blob
Constructor Detail

BaseObject

BaseObject(StorableObject object)
Method Detail

restore

public void restore(StorableObject object)
             throws IOException,
                    ClassNotFoundException
Description copied from interface: StoredObject
Restore the state of a StorableObject object.

Specified by:
restore in interface StoredObject
Parameters:
object - to restore
Throws:
IOException
ClassNotFoundException


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.