org.openorb.pss.connector.memory
Interface MemoryCatalogBase

All Superinterfaces:
CatalogBaseOperations
All Known Implementing Classes:
MemorySession, MemorySessionPool, TransactionalMemorySession

public interface MemoryCatalogBase
extends CatalogBaseOperations


Method Summary
 Connector connector()
          Return the connector reference
 StorageObject create_embedded_object(StorageHomeBase home_base, java.lang.String storage_type_id)
          This operation is used to create an embedded storage type
 StorageObject create_object(StorageHomeBase home_base, java.lang.String storage_type_id)
          This operation is used to create a storage type
 void delete(PID home_pid, PID type_pid)
          This operation is used to delete a storage type
 StorageObject incarnate(StorageHomeBase home_base, byte[] storage_type_pid, java.lang.String storage_type_id)
          This operation is used to incarnate a storage type
 Parameter[] parameters()
          Return parameters
 void setBaseInfo(MemoryConnector connector, short access, Parameter[] parameters)
          This operation is used to set all base information required
 boolean stored(PID home_pid, PID type_pid)
          This operation is used to check if a storage type is already stored
 
Methods inherited from interface org.omg.CosPersistentState.CatalogBaseOperations
access_mode, close, find_by_pid, find_storage_home, flush, free_all, refresh
 

Method Detail

setBaseInfo

void setBaseInfo(MemoryConnector connector,
                 short access,
                 Parameter[] parameters)
This operation is used to set all base information required


connector

Connector connector()
Return the connector reference


parameters

Parameter[] parameters()
Return parameters


stored

boolean stored(PID home_pid,
               PID type_pid)
This operation is used to check if a storage type is already stored


delete

void delete(PID home_pid,
            PID type_pid)
This operation is used to delete a storage type


incarnate

StorageObject incarnate(StorageHomeBase home_base,
                        byte[] storage_type_pid,
                        java.lang.String storage_type_id)
                        throws NotFoundException
This operation is used to incarnate a storage type

Throws:
NotFoundException

create_object

StorageObject create_object(StorageHomeBase home_base,
                            java.lang.String storage_type_id)
This operation is used to create a storage type


create_embedded_object

StorageObject create_embedded_object(StorageHomeBase home_base,
                                     java.lang.String storage_type_id)
This operation is used to create an embedded storage type