public class FragmentRegistry extends DependencyTree<String,FragmentDescriptor>
DependencyTree.Entry<K,T>
Modifier and Type | Field and Description |
---|---|
protected Map<String,FragmentDescriptor> |
fragments |
Constructor and Description |
---|
FragmentRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(FragmentDescriptor fragment) |
protected void |
commitFragments() |
FragmentDescriptor |
get(String key) |
Collection<DependencyTree.Entry<String,FragmentDescriptor>> |
getEntries() |
DependencyTree.Entry<String,FragmentDescriptor> |
getEntry(String key) |
List<DependencyTree.Entry<String,FragmentDescriptor>> |
getMissingRequirements() |
List<DependencyTree.Entry<String,FragmentDescriptor>> |
getPendingEntries() |
List<FragmentDescriptor> |
getPendingObjects() |
List<DependencyTree.Entry<String,FragmentDescriptor>> |
getResolvedEntries()
Entries are sorted so an entry never depends on entries on its right.
|
List<FragmentDescriptor> |
getResolvedObjects() |
add, add, add, clear, isRegistered, isResolved, iterator, remove, resolve, setEventHandler, unregister, unresolve, updateDependencies
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected final Map<String,FragmentDescriptor> fragments
public FragmentRegistry()
public void add(FragmentDescriptor fragment)
public List<DependencyTree.Entry<String,FragmentDescriptor>> getResolvedEntries()
DependencyTree
getResolvedEntries
in class DependencyTree<String,FragmentDescriptor>
public List<DependencyTree.Entry<String,FragmentDescriptor>> getMissingRequirements()
getMissingRequirements
in class DependencyTree<String,FragmentDescriptor>
public FragmentDescriptor get(String key)
get
in class DependencyTree<String,FragmentDescriptor>
public Collection<DependencyTree.Entry<String,FragmentDescriptor>> getEntries()
getEntries
in class DependencyTree<String,FragmentDescriptor>
public List<FragmentDescriptor> getResolvedObjects()
getResolvedObjects
in class DependencyTree<String,FragmentDescriptor>
public List<FragmentDescriptor> getPendingObjects()
getPendingObjects
in class DependencyTree<String,FragmentDescriptor>
public DependencyTree.Entry<String,FragmentDescriptor> getEntry(String key)
getEntry
in class DependencyTree<String,FragmentDescriptor>
public List<DependencyTree.Entry<String,FragmentDescriptor>> getPendingEntries()
getPendingEntries
in class DependencyTree<String,FragmentDescriptor>
protected void commitFragments()
Copyright © 2019 Nuxeo. All rights reserved.