|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.openorb.pss.connector.memory.MemoryCatalog
public abstract class MemoryCatalog
This class is a catalog for persistent storage home.
| Constructor Summary | |
|---|---|
MemoryCatalog()
Constructor without any parameter |
|
MemoryCatalog(org.omg.PortableInterceptor.ORBInitInfo info)
Constructor |
|
| Method Summary | |
|---|---|
short |
access_mode()
The read-only attribute access_mode returns the access mode of this catalog. |
void |
clean(StorageHomeBase home)
|
Connector |
connector()
Return the connector reference |
void |
destroy(StorageHomeBase home)
|
byte[][] |
find_all(StorageHomeBase home)
|
java.lang.Object |
find_by_pid(byte[] the_pid)
The find_by_pid operation attempts to locate a storage object
with the given PID in the storage homes provided by the target catalog. |
abstract StorageHomeBase |
find_home_base(PID pid)
Returns an storage object home from its PID ( high part is only used ) |
StorageObjectRef |
find_ref_by_pid(byte[] the_pid)
|
StorageHomeBase |
find_storage_home(java.lang.String storage_home_id)
The find_storage_home operation can be used to obtain a storage home instance. |
Iterator |
iterator(StorageHomeBase home)
|
Parameter[] |
parameters()
Return parameters |
void |
setCatalogInfo(MemoryConnector connector,
short access,
Parameter[] parameters)
Set catalog information |
| Methods inherited from class org.omg.CORBA.LocalObject |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.omg.CosPersistentState.CatalogBaseOperations |
|---|
close, flush, free_all, refresh |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Constructor Detail |
|---|
public MemoryCatalog()
public MemoryCatalog(org.omg.PortableInterceptor.ORBInitInfo info)
| Method Detail |
|---|
public Connector connector()
public void setCatalogInfo(MemoryConnector connector,
short access,
Parameter[] parameters)
public short access_mode()
CatalogBaseOperationsaccess_mode returns the access mode of this catalog.
When the access mode is READ_ONLY, the storage object incarnations obtained
through storage home instances provided by this catalog are read-only.
access_mode in interface CatalogBaseOperationspublic Parameter[] parameters()
public StorageHomeBase find_storage_home(java.lang.String storage_home_id)
throws NotFound
CatalogBaseOperationsfind_storage_home operation can be used to obtain a storage home instance.
find_storage_home raises NotFound if it cannot find a storage home that
matches the given storage_home_id.
The format of the storage_home_id parameter is mostly implementation-defined.
In the case of type-specific catalogs (declared in PSDL), the provide declarations
define valid storage_home_id parameters. The find_storage_home operation
also understands storage_home_id that have the form of a PSDL type id.
find_storage_home looks up a PSDL-defined storage home with this type id in
the catalog?s default datastore. If the storage_home_id parameter has the form
":datastore_name", where datastore_name is a string, find_storage_home returns
a storage home instance for the storage home associated with java.lang.Object (Java)
in this datastore.
find_storage_home in interface CatalogBaseOperationsNotFound
public java.lang.Object find_by_pid(byte[] the_pid)
throws NotFound
CatalogBaseOperationsfind_by_pid operation attempts to locate a storage object
with the given PID in the storage homes provided by the target catalog.
find_by_pid in interface CatalogBaseOperationsNotFound - if it cannot find a storage object with this pid.
public StorageObjectRef find_ref_by_pid(byte[] the_pid)
throws NotFound
find_ref_by_pid in interface ExtendedCatalogNotFoundpublic byte[][] find_all(StorageHomeBase home)
find_all in interface ExtendedCatalogpublic Iterator iterator(StorageHomeBase home)
iterator in interface ExtendedCatalogpublic void clean(StorageHomeBase home)
clean in interface ExtendedCatalogpublic void destroy(StorageHomeBase home)
destroy in interface ExtendedCatalogpublic abstract StorageHomeBase find_home_base(PID pid)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||