com.tonbeller.tbutils.res
Class JNDIInitialProvider

java.lang.Object
  extended bycom.tonbeller.tbutils.res.CompositeResourceProvider
      extended bycom.tonbeller.tbutils.res.SimpleInitialProvider
          extended bycom.tonbeller.tbutils.res.JNDIInitialProvider
All Implemented Interfaces:
InitialProvider, ResourceProvider

public class JNDIInitialProvider
extends SimpleInitialProvider

initial provider. looks up variables

  1. in JNDI java:/comp/env context
  2. System.getProperty()
  3. user.properties in root classpath
  4. resfactory.properties in root classpath
in that order.

Author:
av

Field Summary
 
Fields inherited from interface com.tonbeller.tbutils.res.InitialProvider
RESFACTORY_PROPERTIES, USER_PROPERTIES
 
Constructor Summary
JNDIInitialProvider()
           
 
Methods inherited from class com.tonbeller.tbutils.res.CompositeResourceProvider
add, add, close, dump, getName, getProviders, getString, keySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tonbeller.tbutils.res.ResourceProvider
close, dump, getName, getString, keySet
 

Constructor Detail

JNDIInitialProvider

public JNDIInitialProvider()