Package com.helger.tree.singleton
Class AbstractSessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
- java.lang.Object
-
- com.helger.scope.singleton.AbstractSingleton
-
- com.helger.scope.singleton.AbstractSessionSingleton
-
- com.helger.tree.singleton.AbstractSessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
-
- Type Parameters:
KEYTYPE- Tree key typeVALUETYPE- Tree value type
- All Implemented Interfaces:
com.helger.commons.hierarchy.IChildrenProvider<DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>,com.helger.commons.hierarchy.IChildrenProviderWithID<KEYTYPE,DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>,com.helger.commons.hierarchy.IHasChildren<DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>,com.helger.scope.IScopeDestructionAware,IBasicTree<VALUETYPE,DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>,ITreeWithUniqueIDProxy<KEYTYPE,VALUETYPE>,ITreeWithID<KEYTYPE,VALUETYPE,DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>,ITreeWithGlobalUniqueID<KEYTYPE,VALUETYPE,DefaultTreeItemWithID<KEYTYPE,VALUETYPE>>
public abstract class AbstractSessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE> extends com.helger.scope.singleton.AbstractSessionSingleton implements ITreeWithUniqueIDProxy<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID. It basically is aAbstractSessionSingletonwrapping aDefaultTreeWithGlobalUniqueIDwith the same API.- Author:
- Philip Helger
-
-
Field Summary
Fields Modifier and Type Field Description protected DefaultTreeWithGlobalUniqueID<KEYTYPE,VALUETYPE>m_aTree
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSessionSingletonTreeWithUniqueID()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultTreeWithGlobalUniqueID<KEYTYPE,VALUETYPE>getProxyTree()-
Methods inherited from class com.helger.scope.singleton.AbstractSessionSingleton
getAllSessionSingletons, getSessionSingleton, getSessionSingletonIfInstantiated, isSessionSingletonInstantiated
-
Methods inherited from class com.helger.scope.singleton.AbstractSingleton
getAllSingletons, getSingleton, getSingletonIfInstantiated, getSingletonScopeKey, isDestroyed, isInDestruction, isInInstantiation, isInPreDestruction, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onBeforeDestroy, onBeforeScopeDestruction, onDestroy, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInPreDestruction, setInstantiated, toString, writeAbstractSingletonFields
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.tree.singleton.ITreeWithUniqueIDProxy
containsItemWithID, forAllChildren, forAllChildren, forAllChildrenMapped, getAllChildren, getAllChildren, getAllItemDatas, getAllItems, getChildCount, getChildCount, getChildren, getChildWithID, getItemCount, getItemDataWithID, getItemWithID, getRootItem, hasChildren, hasChildren, hasNoChildren, hasNoChildren, isItemSameOrDescendant, removeItemWithID
-
-
-
-
Field Detail
-
m_aTree
protected final DefaultTreeWithGlobalUniqueID<KEYTYPE,VALUETYPE> m_aTree
-
-
Method Detail
-
getProxyTree
@Nonnull public final DefaultTreeWithGlobalUniqueID<KEYTYPE,VALUETYPE> getProxyTree()
- Specified by:
getProxyTreein interfaceITreeWithUniqueIDProxy<KEYTYPE,VALUETYPE>
-
-