org.openorb.pss.connector.memory

Interface PersistentObjectHome

public interface PersistentObjectHome

This interface must be implemented by all storage home.

Author: Jerome Daniel

Method Summary
StorageObjectRefcreate_reference(byte[] pid)
Create a storage type reference
StorageObjectderef(PID pid)
Return the storage type associated to a reference
PIDgetPID()
Return the home PID
Object[]get_incarnations()
Returns all incarnations
booleanis_stored(PID pid)
Return TRUE if a storage type is stored ( tested from its PID ).
voidremove_storage_type(PID pid)
Remove a storage type
voidsetPersistentLinks(CatalogBase catalog, PID pid)
Set some information after incarnation

Method Detail

create_reference

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

deref

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

getPID

public PID getPID()
Return the home PID

get_incarnations

public Object[] get_incarnations()
Returns all incarnations

is_stored

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

remove_storage_type

public void remove_storage_type(PID pid)
Remove a storage type

setPersistentLinks

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