org.openorb.pss.connector.memory
Interface PersistentObjectHome


public interface PersistentObjectHome

This interface must be implemented by all storage home.

Author:
Jerome Daniel

Method Summary
 StorageObjectRef create_reference(byte[] pid)
          Create a storage type reference
 StorageObject deref(PID pid)
          Return the storage type associated to a reference
 java.lang.Object[] get_incarnations()
          Returns all incarnations
 PID getPID()
          Return the home PID
 boolean is_stored(PID pid)
          Return TRUE if a storage type is stored ( tested from its PID ).
 void remove_storage_type(PID pid)
          Remove a storage type
 void setPersistentLinks(CatalogBase catalog, PID pid)
          Set some information after incarnation
 

Method Detail

get_incarnations

java.lang.Object[] get_incarnations()
Returns all incarnations


setPersistentLinks

void setPersistentLinks(CatalogBase catalog,
                        PID pid)
Set some information after incarnation


getPID

PID getPID()
Return the home PID


remove_storage_type

void remove_storage_type(PID pid)
                         throws NotFoundException
Remove a storage type

Throws:
NotFoundException

is_stored

boolean is_stored(PID pid)
Return TRUE if a storage type is stored ( tested from its PID ).


deref

StorageObject deref(PID pid)
Return the storage type associated to a reference


create_reference

StorageObjectRef create_reference(byte[] pid)
Create a storage type reference