org.openorb.pss.connector.memory
Class MemorySessionPool

java.lang.Object
  extended by org.omg.CORBA.LocalObject
      extended by org.openorb.pss.connector.memory.MemoryCatalog
          extended by org.openorb.pss.connector.memory.MemorySession
              extended by org.openorb.pss.connector.memory.MemorySessionPool
All Implemented Interfaces:
java.io.Serializable, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity, CatalogBase, CatalogBaseOperations, Session, SessionOperations, SessionPool, SessionPoolOperations, ExtendedCatalog, MemoryCatalogBase

public class MemorySessionPool
extends MemorySession
implements SessionPool

This class implements a session pool for a memory persistence.

Author:
Jerome Daniel
See Also:
Serialized Form

Constructor Summary
MemorySessionPool()
           
MemorySessionPool(org.omg.PortableInterceptor.ORBInitInfo info)
          Constructor
 
Method Summary
 void flush_by_pids(byte[][] pids)
          Operation flush_by_pids
 void refresh_by_pids(byte[][] pids)
          Operation refresh_by_pids
 short transaction_policy()
          Read accessor for transaction_policy attribute
 
Methods inherited from class org.openorb.pss.connector.memory.MemorySession
close, create_embedded_object, create_object, createHomePID, createPID, delete, find_home_base, flush, free_all, incarnate, refresh, setBaseInfo, stored
 
Methods inherited from class org.openorb.pss.connector.memory.MemoryCatalog
access_mode, clean, connector, destroy, 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.memory.MemoryCatalogBase
connector, parameters
 

Constructor Detail

MemorySessionPool

public MemorySessionPool()

MemorySessionPool

public MemorySessionPool(org.omg.PortableInterceptor.ORBInitInfo info)
Constructor

Method Detail

flush_by_pids

public void flush_by_pids(byte[][] pids)
Description copied from interface: SessionPoolOperations
Operation flush_by_pids

Specified by:
flush_by_pids in interface SessionPoolOperations

refresh_by_pids

public void refresh_by_pids(byte[][] pids)
Description copied from interface: SessionPoolOperations
Operation refresh_by_pids

Specified by:
refresh_by_pids in interface SessionPoolOperations

transaction_policy

public short transaction_policy()
Description copied from interface: SessionPoolOperations
Read accessor for transaction_policy attribute

Specified by:
transaction_policy in interface SessionPoolOperations
Returns:
the attribute value