util
Class BeanTree

java.lang.Object
  extended by util.BeanTree

public class BeanTree
extends Object

A bean tree provides static references in a VM to BeanSupporting instances. There is no guaranteed when the tree will be populated in the lifetime of the VM.


Field Summary
private static Map<String,List<BeanSupport>> tree
          The bean-supporting instances known at runtime.
 
Constructor Summary
BeanTree()
           
 
Method Summary
static void addBeanSupport(String name, BeanSupport bs)
           
private static void createTree()
          Creates a bean supporting tree.
static List<BeanSupport> getBeanSupport(String propname)
          Returns the list of all known bean supporting instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tree

private static Map<String,List<BeanSupport>> tree
The bean-supporting instances known at runtime.

Constructor Detail

BeanTree

public BeanTree()
Method Detail

addBeanSupport

public static void addBeanSupport(String name,
                                  BeanSupport bs)

getBeanSupport

public static List<BeanSupport> getBeanSupport(String propname)
Returns the list of all known bean supporting instances. Guaranteed to return non-null.


createTree

private static void createTree()
Creates a bean supporting tree.