org.apache.jdo.impl.state
Class ReachabilityHandler.AutoPersistentProcessor

java.lang.Object
  extended byorg.apache.jdo.impl.state.ReachabilityHandler.Processor
      extended byorg.apache.jdo.impl.state.ReachabilityHandler.AutoPersistentProcessor
Enclosing class:
ReachabilityHandler

class ReachabilityHandler.AutoPersistentProcessor
extends ReachabilityHandler.Processor

Processor for MakeAutoPersistent request.


Constructor Summary
(package private) ReachabilityHandler.AutoPersistentProcessor()
           
 
Method Summary
(package private)  void process(java.lang.Object o, PersistenceManagerInternal pm)
          Transition Object or elements of a Collection or values and keys of a Map to auto-persistent inside an active transaction (persistence-by-reachability)
private  void processArray(java.lang.Object[] o, PersistenceManagerInternal pm)
          Processes Array of referenced objects for possible auto-persistence (persistence-by-reachability).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReachabilityHandler.AutoPersistentProcessor

ReachabilityHandler.AutoPersistentProcessor()
Method Detail

process

void process(java.lang.Object o,
             PersistenceManagerInternal pm)
Transition Object or elements of a Collection or values and keys of a Map to auto-persistent inside an active transaction (persistence-by-reachability)

Specified by:
process in class ReachabilityHandler.Processor
Parameters:
o - Object to process.
pm - the PersistenceManagerInternal instance associated with the caller.

processArray

private void processArray(java.lang.Object[] o,
                          PersistenceManagerInternal pm)
Processes Array of referenced objects for possible auto-persistence (persistence-by-reachability).

Parameters:
o - Array of referenced objects
pm - PersistenceManagerInternal instance associated with the request.