|
||||||||
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.database.DatabaseCatalog
org.openorb.pss.connector.database.DatabaseSession
org.openorb.pss.connector.database.DatabaseSessionPool
public class DatabaseSessionPool
This class is the implementation of the session pool for a database persistence.
Constructor Summary | |
---|---|
DatabaseSessionPool()
Constructor without any parameter |
|
DatabaseSessionPool(org.omg.PortableInterceptor.ORBInitInfo info)
Constructor |
Method Summary | |
---|---|
void |
flush_by_pids(byte[][] pids)
Operation flush_by_pids |
TransactionalSession |
prepare_free_session()
Return a free transactional session ( it means with NO ASSOCIATION for the association status ) |
void |
refresh_by_pids(byte[][] pids)
Operation refresh_by_pids |
void |
setBaseInfo(DatabaseConnector connector,
java.lang.String catalog_type_name,
short tx_policy,
short access,
Parameter[] parameters)
Set the base information require by a catalog |
short |
transaction_policy()
Read accessor for transaction_policy attribute |
Methods inherited from class org.openorb.pss.connector.database.DatabaseSession |
---|
close, create_embedded_object, create_empty_object, create_object, createHomePID, createPID, destroy, find_home_base, find_pids, find, flush, free_all, getParameter, incarnate, read, refresh, remove, setBaseInfo, stored, write_entry_into_database, write |
Methods inherited from class org.openorb.pss.connector.database.DatabaseCatalog |
---|
access_mode, clean, connector, find_all, find_by_pid, find_ref_by_pid, find_storage_home, iterator, parameters, setCatalogInfo |
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 |
---|
access_mode, close, find_by_pid, find_storage_home, 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 |
Methods inherited from interface org.openorb.pss.connector.database.DatabaseCatalogBase |
---|
connector, parameters |
Constructor Detail |
---|
public DatabaseSessionPool()
public DatabaseSessionPool(org.omg.PortableInterceptor.ORBInitInfo info)
Method Detail |
---|
public void setBaseInfo(DatabaseConnector connector, java.lang.String catalog_type_name, short tx_policy, short access, Parameter[] parameters)
public void flush_by_pids(byte[][] pids)
SessionPoolOperations
flush_by_pids
in interface SessionPoolOperations
public void refresh_by_pids(byte[][] pids)
SessionPoolOperations
refresh_by_pids
in interface SessionPoolOperations
public short transaction_policy()
SessionPoolOperations
transaction_policy
in interface SessionPoolOperations
public TransactionalSession prepare_free_session()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |