org.jboss.dashboard.factory
Class ComponentsTree
java.lang.Object
org.jboss.dashboard.factory.ComponentsTree
public class ComponentsTree
- extends Object
The component tree contains all the components definitions loaded (usually) from the etc/factory
directory.
|
Constructor Summary |
ComponentsTree(List files)
Creates a new tree of components for the given list of files. |
ComponentsTree
public ComponentsTree(List files)
- Creates a new tree of components for the given list of files.
- Parameters:
files - a List of Files with descriptors.
getNewOrderCounter
public long getNewOrderCounter()
- Returns:
- the next value of the sequence that calculates the order of global components
init
protected void init()
addToMappings
protected void addToMappings(String name,
Component component)
getComponent
public Component getComponent(String path)
getComponent
public Component getComponent(String path,
String relativePath)
calculateRelativePath
protected String calculateRelativePath(String parameter,
String currentPath)
lookup
public Object lookup(String s)
throws LookupException
- Throws:
LookupException
lookup
public Object lookup(String s,
String relativeToPath)
throws LookupException
- Throws:
LookupException
makeComponentInstance
protected Component makeComponentInstance(String name)
toString
public String toString()
- Overrides:
toString in class Object
getTreeMappings
public Map getTreeMappings()
getAlias
public String getAlias(String path,
String relativePath)
destroy
public void destroy()
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.