com.sun.ejb.spi.sfsb.store
Class SFSBBeanState

java.lang.Object
  extended by com.sun.ejb.spi.sfsb.store.SFSBBeanState
All Implemented Interfaces:
Serializable, org.glassfish.ha.store.api.Storeable

public class SFSBBeanState
extends Object
implements org.glassfish.ha.store.api.Storeable

Author:
Mahesh Kannan
See Also:
Serialized Form

Constructor Summary
SFSBBeanState(Serializable sessionId, long lastAccess, boolean isNew, byte[] state, long version)
           
 
Method Summary
 String[] _storeable_getAttributeNames()
           
 boolean[] _storeable_getDirtyStatus()
           
 long _storeable_getLastAccessTime()
           
 long _storeable_getMaxIdleTime()
           
 long _storeable_getVersion()
           
 void _storeable_readState(InputStream is)
           
 void _storeable_setLastAccessTime(long lastAccessTime)
           
 void _storeable_setMaxIdleTime(long maxIdleTime)
           
 void _storeable_setVersion(long version)
           
 void _storeable_writeState(OutputStream os)
           
 long getLastAccess()
           
 long getMaxIdleTime()
           
 Serializable getSessionId()
           
 byte[] getState()
           
 long getVersion()
           
 boolean isNew()
           
 void setLastAccess(long lastAccess)
           
 void setMaxIdleTime(long maxIdleTime)
           
 void setNew(boolean aNew)
           
 void setSessionId(Serializable sessionId)
           
 void setState(byte[] state)
           
 void setVersion(long version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SFSBBeanState

public SFSBBeanState(Serializable sessionId,
                     long lastAccess,
                     boolean isNew,
                     byte[] state,
                     long version)
Method Detail

getSessionId

public Serializable getSessionId()

setSessionId

public void setSessionId(Serializable sessionId)

getLastAccess

public long getLastAccess()

setLastAccess

public void setLastAccess(long lastAccess)

isNew

public boolean isNew()

setNew

public void setNew(boolean aNew)

getState

public byte[] getState()

setState

public void setState(byte[] state)

getVersion

public long getVersion()

setVersion

public void setVersion(long version)

getMaxIdleTime

public long getMaxIdleTime()

setMaxIdleTime

public void setMaxIdleTime(long maxIdleTime)

_storeable_getVersion

public long _storeable_getVersion()
Specified by:
_storeable_getVersion in interface org.glassfish.ha.store.api.Storeable

_storeable_setVersion

public void _storeable_setVersion(long version)
Specified by:
_storeable_setVersion in interface org.glassfish.ha.store.api.Storeable

_storeable_getLastAccessTime

public long _storeable_getLastAccessTime()
Specified by:
_storeable_getLastAccessTime in interface org.glassfish.ha.store.api.Storeable

_storeable_setLastAccessTime

public void _storeable_setLastAccessTime(long lastAccessTime)
Specified by:
_storeable_setLastAccessTime in interface org.glassfish.ha.store.api.Storeable

_storeable_getMaxIdleTime

public long _storeable_getMaxIdleTime()
Specified by:
_storeable_getMaxIdleTime in interface org.glassfish.ha.store.api.Storeable

_storeable_setMaxIdleTime

public void _storeable_setMaxIdleTime(long maxIdleTime)
Specified by:
_storeable_setMaxIdleTime in interface org.glassfish.ha.store.api.Storeable

_storeable_getAttributeNames

public String[] _storeable_getAttributeNames()
Specified by:
_storeable_getAttributeNames in interface org.glassfish.ha.store.api.Storeable

_storeable_getDirtyStatus

public boolean[] _storeable_getDirtyStatus()
Specified by:
_storeable_getDirtyStatus in interface org.glassfish.ha.store.api.Storeable

_storeable_writeState

public void _storeable_writeState(OutputStream os)
                           throws IOException
Specified by:
_storeable_writeState in interface org.glassfish.ha.store.api.Storeable
Throws:
IOException

_storeable_readState

public void _storeable_readState(InputStream is)
                          throws IOException
Specified by:
_storeable_readState in interface org.glassfish.ha.store.api.Storeable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 GlassFish Community. All Rights Reserved.