org.osjava.sj.loader
Class JndiLoader
java.lang.Object
org.osjava.sj.loader.JndiLoader
public class JndiLoader
- extends Object
Loads a .properties file into a JNDI server.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIMPLE_DELIMITER
public static final String SIMPLE_DELIMITER
- See Also:
- Constant Field Values
SIMPLE_SHARED
public static final String SIMPLE_SHARED
- See Also:
- Constant Field Values
SIMPLE_COLON_REPLACE
public static final String SIMPLE_COLON_REPLACE
- See Also:
- Constant Field Values
JndiLoader
public JndiLoader()
JndiLoader
public JndiLoader(Hashtable env)
putParameter
public void putParameter(String key,
String value)
getParameter
public String getParameter(String key)
loadDirectory
public void loadDirectory(File directory,
Context ctxt)
throws NamingException,
IOException
- Loads all .properties files in a directory into a context
- Throws:
NamingException
IOException
loadDirectory
public void loadDirectory(File directory,
Context ctxt,
Context parentCtxt,
String ctxtName)
throws NamingException,
IOException
- Throws:
NamingException
IOException
load
public void load(Properties properties,
Context ctxt)
throws NamingException
- Loads a properties object into a context.
- Throws:
NamingException
load
public void load(Properties properties,
Context ctxt,
Context parentCtxt,
String ctxtName)
throws NamingException
- Throws:
NamingException
Copyright © 2003-2008 OSJava. All Rights Reserved.