public class JdbcExternalVariableModule extends java.lang.Object implements ExternalVariableModule
ExternalVariableModule.Locator, ExternalVariableModule.Value| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JDBC_NS |
static javax.xml.namespace.QName |
NAME
Unique QName for the engine, this should be the element used for the external-variable configuration.
|
| Constructor and Description |
|---|
JdbcExternalVariableModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(javax.xml.namespace.QName pid,
java.lang.String extVarId,
org.w3c.dom.Element config) |
javax.xml.namespace.QName |
getName() |
boolean |
isTransactional() |
ExternalVariableModule.Value |
readValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Locator locator) |
void |
registerDataSource(java.lang.String dsName,
javax.sql.DataSource ds)
Manually register a data source.
|
void |
shutdown() |
void |
start() |
void |
stop() |
ExternalVariableModule.Value |
writeValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Value newval) |
public static final java.lang.String JDBC_NS
public static final javax.xml.namespace.QName NAME
public void configure(javax.xml.namespace.QName pid,
java.lang.String extVarId,
org.w3c.dom.Element config)
throws ExternalVariableModuleException
configure in interface ExternalVariableModuleExternalVariableModuleExceptionpublic javax.xml.namespace.QName getName()
getName in interface ExternalVariableModulepublic boolean isTransactional()
isTransactional in interface ExternalVariableModulepublic void shutdown()
shutdown in interface ExternalVariableModulepublic void start()
start in interface ExternalVariableModulepublic void stop()
stop in interface ExternalVariableModulepublic ExternalVariableModule.Value writeValue(javax.xml.namespace.QName varType, ExternalVariableModule.Value newval) throws ExternalVariableModuleException
writeValue in interface ExternalVariableModuleExternalVariableModuleExceptionpublic ExternalVariableModule.Value readValue(javax.xml.namespace.QName varType, ExternalVariableModule.Locator locator) throws ExternalVariableModuleException
readValue in interface ExternalVariableModuleExternalVariableModuleExceptionpublic void registerDataSource(java.lang.String dsName,
javax.sql.DataSource ds)
dsName - ds - Copyright © 2021 WSO2. All Rights Reserved.