org.mule.impl.container
Class JndiContextHelper
java.lang.Object
org.mule.impl.container.JndiContextHelper
- public class JndiContextHelper
- extends Object
Common code for initialising the JNDI context.
- Author:
- Andrew Perepelytsya
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiContextHelper
public JndiContextHelper()
initialise
public static Context initialise(Map environment)
throws NamingException
- Create a new initial context.
- Parameters:
environment - JNDI properties or null. In the latter case
a default constructor of InitialContext will be
called with standard JNDI lookup properties semantics.
- Returns:
- jndi context
- Throws:
NamingException - if there was a JNDI error
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.