|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configuration Interface for NamedDataSourceConnectionFactory.
The JndiUserId, JndiPassword, DataSourceUserId and
DataSourcePassword
are all optional - but may be required by the
Vendor's implementation, or your setup of JNDI + DataSource + JDBC.
Field Summary |
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
Method Summary | |
String |
getDataSourcePassword()
(Optional) Gets the name of the datasource password to authenticate with. |
String |
getDataSourceUserId()
(Optional) Gets the name of the datasource id to authenticate with. |
String |
getInitialContextFactory()
Gets the name of the initial context factory used to retreive the datasource. |
String |
getJndiName()
Gets the JNDI name of the datasource to retreive. |
String |
getJndiPassword()
(Optional) Gets the name of the jndi password to authenticate with. |
String |
getJndiUserId()
(Optional) Gets the name of the jndi user to authenticate with. |
String |
getProviderUrl()
Gets the provider Url for the datasource. |
void |
setDataSourcePassword(String dataSourcePassword)
(Optional) Sets the name of the datasource password to authenticate with. |
void |
setDataSourceUserId(String dataSourceUserId)
(Optional) Sets the name of the datasource id to authenticate with. |
void |
setInitialContextFactory(Class initialContextFactory)
Sets the name of the initial context factory used to retreive the datasource. |
void |
setJndiName(String jndiName)
Sets the JNDI name of the datasource to retreive. |
void |
setJndiPassword(String jndiPassword)
(Optional) Sets the name of the jndi password to authenticate with. |
void |
setJndiUserId(String jndiUserId)
(Optional) Sets the name of the jndi user to authenticate with. |
void |
setProviderUrl(String providerUrl)
Sets the provider Url for the datasource. |
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Method Detail |
public String getJndiName()
public void setJndiName(String jndiName)
jndiName
- JNDI name of the datasource to retreivepublic String getInitialContextFactory()
public void setInitialContextFactory(Class initialContextFactory)
initialContextFactory
- name of the initial context factorypublic String getProviderUrl()
public void setProviderUrl(String providerUrl)
providerUrl
- the provider Urlpublic String getJndiUserId()
public void setJndiUserId(String jndiUserId)
jndiUserId
- name of the jndi user to authenticate withpublic String getJndiPassword()
public void setJndiPassword(String jndiPassword)
jndiPassword
- name of the jndi password to authenticate withpublic String getDataSourceUserId()
public void setDataSourceUserId(String dataSourceUserId)
dataSourceUserId
- name of the datasource id to authenticate withpublic String getDataSourcePassword()
public void setDataSourcePassword(String dataSourcePassword)
dataSourcePassword
- name of the datasource password
to authenticate with
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |