JndiContextHelper (Mule ESB 2.2.1 API)
Keywords: org.mule.util.JndiContextHelper class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.util
Class JndiContextHelper

    java.lang.Object
      org.mule.util.JndiContextHelper

    public final class JndiContextHelper

extends Object

Common code for initialising the JNDI context.

Method Summary
`static Context` | `initialise(Map environment)` Create a new initial context.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.