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.
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-2012 JBoss, a division of Red Hat. All Rights Reserved.