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)
Configure an external variable.
|
javax.xml.namespace.QName |
getName()
Get the QName of this external variable engine; this method must always return a valid non-null value.
|
boolean |
isTransactional()
Report whether this engine is transactional, i.e.
|
ExternalVariableModule.Value |
readValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Locator locator)
The the value of an external variable.
|
void |
registerDataSource(java.lang.String dsName,
javax.sql.DataSource ds)
Manually register a data source.
|
void |
shutdown()
Shutdown the external variable subsystem.
|
void |
start()
Start the external variable subsystem.
|
void |
stop()
Stop the external variable subsystem.
|
ExternalVariableModule.Value |
writeValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Value newval)
Update the value of the external variable.
|
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
ExternalVariableModuleconfigure in interface ExternalVariableModulepid - processextVarId - external variable identifierconfig - configuration elementExternalVariableModuleExceptionpublic javax.xml.namespace.QName getName()
ExternalVariableModulegetName in interface ExternalVariableModulepublic boolean isTransactional()
ExternalVariableModuleisTransactional in interface ExternalVariableModuletrue if transactional, false otherwsie.public void shutdown()
ExternalVariableModuleshutdown in interface ExternalVariableModulepublic void start()
ExternalVariableModulestart in interface ExternalVariableModulepublic void stop()
ExternalVariableModulestop in interface ExternalVariableModulepublic ExternalVariableModule.Value writeValue(javax.xml.namespace.QName varType, ExternalVariableModule.Value newval) throws ExternalVariableModuleException
ExternalVariableModulewriteValue in interface ExternalVariableModulenewval - new variable valueExternalVariableModuleExceptionpublic ExternalVariableModule.Value readValue(javax.xml.namespace.QName varType, ExternalVariableModule.Locator locator) throws ExternalVariableModuleException
ExternalVariableModulereadValue in interface ExternalVariableModulelocator - variable locatorExternalVariableModuleExceptionpublic void registerDataSource(java.lang.String dsName,
javax.sql.DataSource ds)
dsName - ds -