org.modeshape.jdbc

## Interface LocalJcrDriver.JcrContextFactory

- Enclosing class:
    LocalJcrDriver

      public static interface LocalJcrDriver.JcrContextFactory

  And interface that can be passed to this driver's constructor to create the JNDI naming context given the set of connection properties.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Context` | `createContext(Properties properties)` Create a JNDI naming context from the supplied connection properties.

- - ### Method Detail

    - #### createContext

          Context createContext(Properties properties)
                                throws NamingException

      Create a JNDI naming context from the supplied connection properties.
      Parameters:
        `properties` - the connection properties; may be null or empty
      Returns:
        the naming context; may not be null
      Throws:
        `NamingException` - if there is a problem creating or obtaining the naming context

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.