public interface IExclusiveDataAccessSession extends IDataAccessSessionCommon
| Modifier and Type | Method and Description |
|---|---|
void |
close()
saving close
|
void |
close(EnumFilePersistenceCloseAction action) |
IInstanceFactory |
getInstanceFactory() |
void |
save()
save objects, session keep opened
|
getClassIdentifier, getMutex, getObject, getObject, getObjects, isClosed, isOpened, objectKeySet, open, removeAllObject, removeObject, setEnumState, setObject, storedEnum, storedImmutableEnum, storedImmutableEnum, storedMutableEnum, storedMutableEnumvoid save()
throws FilePersistenceException,
FilePersistenceInvalidClassException,
FilePersistenceNotSerializableException,
FilePersistenceClassNotFoundException,
FilePersistenceDataCorruptedException,
FilePersistenceTooBigForSerializationException
FilePersistenceException - session not registered as opened session, no file in stable
state, file state restored to stable, file persistence is not
openedFilePersistenceNotSerializableException - Some object to be serialized does not follow joafip
persistence rules or does not implement the
java.io.Serializable interface.FilePersistenceInvalidClassException - something is wrong with a class used by serializationFilePersistenceClassNotFoundException - Class of a serialized object cannot be found.FilePersistenceDataCorruptedException - data is inconsistentFilePersistenceTooBigForSerializationExceptionIInstanceFactory getInstanceFactory()
void close()
throws FilePersistenceException,
FilePersistenceInvalidClassException,
FilePersistenceNotSerializableException,
FilePersistenceClassNotFoundException,
FilePersistenceDataCorruptedException,
FilePersistenceTooBigForSerializationException
FilePersistenceException - session not registered as opened session, no file in stable
state, file state restored to stable, file persistence is not
openedFilePersistenceNotSerializableException - Some object to be serialized does not follow joafip
persistence rules or does not implement the
java.io.Serializable interface.FilePersistenceInvalidClassException - something is wrong with a class used by serializationFilePersistenceClassNotFoundException - Class of a serialized object cannot be found.FilePersistenceDataCorruptedException - data is inconsistentFilePersistenceTooBigForSerializationExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.