net.esper.client
Class ConfigurationDBRef.DataSourceConnection

java.lang.Object
  extended by net.esper.client.ConfigurationDBRef.DataSourceConnection
All Implemented Interfaces:
ConfigurationDBRef.ConnectionFactoryDesc
Enclosing class:
ConfigurationDBRef

public static class ConfigurationDBRef.DataSourceConnection
extends Object
implements ConfigurationDBRef.ConnectionFactoryDesc

Connection factory settings for using a DataSource.


Constructor Summary
ConfigurationDBRef.DataSourceConnection(String contextLookupName, Properties envProperties)
          Ctor.
 
Method Summary
 String getContextLookupName()
          Returns the object name to look up in context.
 Properties getEnvProperties()
          Returns the environment properties to use to establish the initial context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationDBRef.DataSourceConnection

public ConfigurationDBRef.DataSourceConnection(String contextLookupName,
                                               Properties envProperties)
Ctor.

Parameters:
contextLookupName - is the object name to look up
envProperties - are the context properties to use constructing InitialContext
Method Detail

getContextLookupName

public String getContextLookupName()
Returns the object name to look up in context.

Returns:
object name

getEnvProperties

public Properties getEnvProperties()
Returns the environment properties to use to establish the initial context.

Returns:
environment properties to construct the initial context