wt.inf.container
Class ContainerPathCache

java.lang.Object
  extended bywt.inf.container.ContainerPathCache

final class ContainerPathCache
extends Object


Nested Class Summary
static class ContainerPathCache.PathToContainerMessenger
           
private static class ContainerPathCache.Singleton
           
 
Field Summary
private static String CLASSNAME
           
private static boolean DEBUG
           
private static String EXCHANGE
           
private static DebugWriter LOG
           
(package private)  ContainerPathCache.PathToContainerMessenger messenger
           
(package private)  DirtyMap pathToContainer
           
private static String RESOURCE
           
 
Constructor Summary
private ContainerPathCache()
           
 
Method Summary
private  void addListeners()
           
 WTContainerRef getByPath(String path)
           
private  WTContainerRef getByPathFromDB(String path)
           
private  ObjectIdentifier getId(ObjectReference ref)
           
private  ObjectIdentifier getId(Persistable obj)
           
(package private) static ContainerPathCache getInstance()
           
private  String log(WTContainer container)
           
private  String log(WTContainerRef ref)
           
private  void postChangeIdentity(WTContainer container, WTContainerIdentity old_identity)
           
private  void postCreate(WTContainer container)
           
private  void postRemove(WTContainer container)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

DEBUG

private static final boolean DEBUG

LOG

private static final DebugWriter LOG

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

EXCHANGE

private static final String EXCHANGE
See Also:
Constant Field Values

messenger

ContainerPathCache.PathToContainerMessenger messenger

pathToContainer

DirtyMap pathToContainer
Constructor Detail

ContainerPathCache

private ContainerPathCache()
Method Detail

getInstance

static ContainerPathCache getInstance()

getByPath

public WTContainerRef getByPath(String path)
                         throws WTException
Throws:
WTException

getByPathFromDB

private WTContainerRef getByPathFromDB(String path)
                                throws WTException
Throws:
WTException

addListeners

private void addListeners()

postCreate

private void postCreate(WTContainer container)
                 throws WTException
Throws:
WTException

postRemove

private void postRemove(WTContainer container)
                 throws WTException
Throws:
WTException

postChangeIdentity

private void postChangeIdentity(WTContainer container,
                                WTContainerIdentity old_identity)
                         throws WTException
Throws:
WTException

getId

private ObjectIdentifier getId(ObjectReference ref)

getId

private ObjectIdentifier getId(Persistable obj)

log

private String log(WTContainerRef ref)

log

private String log(WTContainer container)