public class FragmentRegistry extends DependencyTree<String,FragmentDescriptor>
DependencyTree.Entry<K,T>
Constructor and Description |
---|
FragmentRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(FragmentDescriptor fragment) |
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
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>
Copyright © 2011 Nuxeo SA. All Rights Reserved.