org.apache.beehive.controls.system.jdbc
Class JdbcControl.JndiContextFactory

Object
  extended by JdbcControl.JndiContextFactory
Enclosing interface:
JdbcControl

public abstract static class JdbcControl.JndiContextFactory
extends Object

Abstract base class for a user defined Jndi Context factory which can be used as a value for the jndiContextFactory member of the ConnectionDataSource annotation.


Constructor Summary
JdbcControl.JndiContextFactory()
           
 
Method Summary
abstract  Context getContext()
          Get a JNDI InitialContext instance.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcControl.JndiContextFactory

public JdbcControl.JndiContextFactory()
Method Detail

getContext

public abstract Context getContext()
                            throws NamingException
Get a JNDI InitialContext instance.

Returns:
InitialContext instance
Throws:
NamingException - if context could not be found.