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
ExternalVariableModule
configure
in interface ExternalVariableModule
pid
- processextVarId
- external variable identifierconfig
- configuration elementExternalVariableModuleException
public javax.xml.namespace.QName getName()
ExternalVariableModule
getName
in interface ExternalVariableModule
public boolean isTransactional()
ExternalVariableModule
isTransactional
in interface ExternalVariableModule
true
if transactional, false
otherwsie.public void shutdown()
ExternalVariableModule
shutdown
in interface ExternalVariableModule
public void start()
ExternalVariableModule
start
in interface ExternalVariableModule
public void stop()
ExternalVariableModule
stop
in interface ExternalVariableModule
public ExternalVariableModule.Value writeValue(javax.xml.namespace.QName varType, ExternalVariableModule.Value newval) throws ExternalVariableModuleException
ExternalVariableModule
writeValue
in interface ExternalVariableModule
newval
- new variable valueExternalVariableModuleException
public ExternalVariableModule.Value readValue(javax.xml.namespace.QName varType, ExternalVariableModule.Locator locator) throws ExternalVariableModuleException
ExternalVariableModule
readValue
in interface ExternalVariableModule
locator
- variable locatorExternalVariableModuleException
public void registerDataSource(java.lang.String dsName, javax.sql.DataSource ds)
dsName
- ds
-