Class ConfigurationCommonDBRef.DataSourceConnection
java.lang.Object
com.espertech.esper.common.client.configuration.common.ConfigurationCommonDBRef.DataSourceConnection
- All Implemented Interfaces:
ConfigurationCommonDBRef.ConnectionFactoryDesc
,Serializable
- Enclosing class:
- ConfigurationCommonDBRef
public static class ConfigurationCommonDBRef.DataSourceConnection
extends Object
implements ConfigurationCommonDBRef.ConnectionFactoryDesc, Serializable
Connection factory settings for using a DataSource.
- See Also:
-
Constructor Summary
ConstructorDescriptionDataSourceConnection
(String contextLookupName, Properties envProperties) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the object name to look up in context.Returns the environment properties to use to establish the initial context.
-
Constructor Details
-
DataSourceConnection
Ctor.- Parameters:
contextLookupName
- is the object name to look upenvProperties
- are the context properties to use constructing InitialContext
-
-
Method Details
-
getContextLookupName
Returns the object name to look up in context.- Returns:
- object name
-
getEnvProperties
Returns the environment properties to use to establish the initial context.- Returns:
- environment properties to construct the initial context
-