com.espertech.esper.client
Class ConfigurationDBRef.DataSourceConnection

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationDBRef.DataSourceConnection
All Implemented Interfaces:
ConfigurationDBRef.ConnectionFactoryDesc, java.io.Serializable
Enclosing class:
ConfigurationDBRef

public static class ConfigurationDBRef.DataSourceConnection
extends java.lang.Object
implements ConfigurationDBRef.ConnectionFactoryDesc, java.io.Serializable

Connection factory settings for using a DataSource.

See Also:
Serialized Form

Constructor Summary
ConfigurationDBRef.DataSourceConnection(java.lang.String contextLookupName, java.util.Properties envProperties)
          Ctor.
 
Method Summary
 java.lang.String getContextLookupName()
          Returns the object name to look up in context.
 java.util.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(java.lang.String contextLookupName,
                                               java.util.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 java.lang.String getContextLookupName()
Returns the object name to look up in context.

Returns:
object name

getEnvProperties

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

Returns:
environment properties to construct the initial context

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com