org.apache.synapse.commons.beanstalk.enterprise

## Class EnterpriseIntitalContext

- java.lang.Object
- - javax.naming.InitialContext
  - - org.apache.synapse.commons.beanstalk.enterprise.EnterpriseIntitalContext

- All Implemented Interfaces:
    javax.naming.Context

      public class EnterpriseIntitalContext
      extends javax.naming.InitialContext

  Enterprise specific Initial context which is avoiding allows to setup the user defined properties to the context

- - ### Field Summary

    - ### Fields inherited from class javax.naming.InitialContext

      `defaultInitCtx, gotDefault, myProps`

    - ### Fields inherited from interface javax.naming.Context

      `APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `EnterpriseIntitalContext()`
    `EnterpriseIntitalContext(java.util.Hashtable<?,?> environment)` Constructs an initial context using the supplied environment.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected javax.naming.Context` | `getURLOrDefaultInitCtx(java.lang.String name)`

    - ### Methods inherited from class javax.naming.InitialContext

      `addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, doLookup, doLookup, getDefaultInitCtx, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getURLOrDefaultInitCtx, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EnterpriseIntitalContext

          public EnterpriseIntitalContext()
                                   throws javax.naming.NamingException

      Throws:
        `javax.naming.NamingException`

    - #### EnterpriseIntitalContext

          public EnterpriseIntitalContext(java.util.Hashtable<?,?> environment)
                                   throws javax.naming.NamingException

      Constructs an initial context using the supplied environment. Environment properties are discussed in the class description.

      This constructor will not modify `environment` or save a reference to it, but may save a clone.

      Parameters:
        `environment` - environment used to create the initial context. Null indicates an empty environment.
      Throws:
        `javax.naming.NamingException` - if a naming exception is encountered

  - ### Method Detail

    - #### getURLOrDefaultInitCtx

          protected javax.naming.Context getURLOrDefaultInitCtx(java.lang.String name)
                                                         throws javax.naming.NamingException

      Overrides:
        `getURLOrDefaultInitCtx` in class `javax.naming.InitialContext`
      Throws:
        `javax.naming.NamingException`

Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.