org.jcon.data
Class LookupRegistry

java.lang.Object
  extended by org.jcon.data.LookupRegistry

public class LookupRegistry
extends java.lang.Object

A global registry for lookup databases.


Constructor Summary
LookupRegistry()
           
 
Method Summary
static LookupDatabase getLookup(java.lang.String name)
          Get a registered lookup by name.
static void registerLookup(LookupDatabase lookup, java.lang.String name)
          Register a LookupDatabase with a name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupRegistry

public LookupRegistry()
Method Detail

registerLookup

public static void registerLookup(LookupDatabase lookup,
                                  java.lang.String name)
Register a LookupDatabase with a name.


getLookup

public static LookupDatabase getLookup(java.lang.String name)
Get a registered lookup by name.