com.kedwards.swt.persist
Class PersistentData

java.lang.Object
  |
  +--com.kedwards.swt.persist.PersistentData
All Implemented Interfaces:
java.io.Serializable

public class PersistentData
extends java.lang.Object
implements java.io.Serializable

PersistentData.java

Represents the data necessary for service crash recovery.

See http://www.kedwards.com/jini

No warranty expressed or implied; use at your own risk; for educational purposes only.

Author:
Keith Edwards
See Also:
Serialized Form

Constructor Summary
PersistentData(net.jini.core.lookup.ServiceID serviceID, net.jini.core.entry.Entry[] attrs, java.lang.String[] groups, net.jini.core.discovery.LookupLocator[] locs, java.lang.Object backendState)
           
 
Method Summary
 net.jini.core.entry.Entry[] getAttrs()
           
 java.lang.Object getBackendState()
           
 java.lang.String[] getGroups()
           
 net.jini.core.discovery.LookupLocator[] getLocs()
           
 net.jini.core.lookup.ServiceID getServiceID()
           
 void setAttrs(net.jini.core.entry.Entry[] attrs)
           
 void setGroups(java.lang.String[] groups)
           
 void setLocs(net.jini.core.discovery.LookupLocator[] locs)
           
 void setServiceID(net.jini.core.lookup.ServiceID serviceID)
           
 void setSubclassData(java.lang.Object backendState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentData

public PersistentData(net.jini.core.lookup.ServiceID serviceID,
                      net.jini.core.entry.Entry[] attrs,
                      java.lang.String[] groups,
                      net.jini.core.discovery.LookupLocator[] locs,
                      java.lang.Object backendState)
               throws java.io.IOException
Method Detail

getServiceID

public net.jini.core.lookup.ServiceID getServiceID()

setServiceID

public void setServiceID(net.jini.core.lookup.ServiceID serviceID)

getAttrs

public net.jini.core.entry.Entry[] getAttrs()

setAttrs

public void setAttrs(net.jini.core.entry.Entry[] attrs)

getGroups

public java.lang.String[] getGroups()

setGroups

public void setGroups(java.lang.String[] groups)

getLocs

public net.jini.core.discovery.LookupLocator[] getLocs()

setLocs

public void setLocs(net.jini.core.discovery.LookupLocator[] locs)

getBackendState

public java.lang.Object getBackendState()
                                 throws java.io.IOException,
                                        java.lang.ClassNotFoundException

setSubclassData

public void setSubclassData(java.lang.Object backendState)
                     throws java.io.IOException