Class InitialContextAccessor

java.lang.Object
javax.naming.InitialContext
org.nuxeo.runtime.jtajca.InitialContextAccessor
All Implemented Interfaces:
Context

public class InitialContextAccessor extends InitialContext
Utility class used for testing JNDI space provider.
Since:
5.5
Author:
Stephane Lacoin (aka matic)
  • Field Details

  • Constructor Details

  • Method Details

    • _getInitCtx

      protected Context _getInitCtx()
    • isAvailable

      public static boolean isAvailable()
      Check for JNDI space availability
      Returns:
      true if JNDI space exists
    • isWritable

      public static boolean isWritable(Context ctx, String prefix)
      Try writing in JNDI space
      Returns:
      true if JNDI space is writable
    • getInitialContext

      public static Context getInitialContext()
      Get access to the default initial context implementation
      Returns:
      the initial context implementation