ModeShape Distribution 3.0.0.Beta4

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

ModeShape Distribution 3.0.0.Beta4

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