|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jdo.impl.state.ReachabilityHandler
This is the helper class to process persistence-by-reachability requests from the StateManager.
| Nested Class Summary | |
(package private) class |
ReachabilityHandler.AutoPersistentProcessor
Processor for MakeAutoPersistent request. |
(package private) class |
ReachabilityHandler.MakePersistentProcessor
Processor for MakePersistent request. |
(package private) class |
ReachabilityHandler.Processor
An abstract class that knows how process reachability requests. |
| Field Summary | |
private static org.apache.commons.logging.Log |
logger
Logger instance |
private static org.apache.jdo.util.I18NHelper |
msg
I18N message handler |
private java.util.HashMap |
processors
Map of possible processors. |
private static ReachabilityHandler |
singleton
The singleton ReachabilityHandler instance. |
| Constructor Summary | |
private |
ReachabilityHandler()
Constructs a new ReachabilityHandler without specific
parameters. |
| Method Summary | |
private void |
debug(java.lang.String msg)
Tracing method |
private boolean |
debugging()
Verifies if debugging is enabled. |
private java.lang.Boolean |
getBoolean(boolean type)
Translates boolean value into Boolean. |
static ReachabilityHandler |
getInstance()
Get the ReachabilityHandler singleton instance. |
(package private) void |
process(java.lang.Object o,
PersistenceManagerInternal pm,
boolean type)
Process recursevely requests for persistence-by-reachability. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final ReachabilityHandler singleton
private final java.util.HashMap processors
private static final org.apache.jdo.util.I18NHelper msg
private static final org.apache.commons.logging.Log logger
| Constructor Detail |
private ReachabilityHandler()
ReachabilityHandler without specific
parameters.
| Method Detail |
public static ReachabilityHandler getInstance()
void process(java.lang.Object o,
PersistenceManagerInternal pm,
boolean type)
o - Object to process.pm - the PersistenceManagerInternal instance associated with the
caller.type - true if the request comes during the commit operation.private java.lang.Boolean getBoolean(boolean type)
type - as boolean.
private void debug(java.lang.String msg)
msg - String to displayprivate boolean debugging()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||