org.apache.ode.bpel.extvar.jdbc
Class JdbcExternalVariableModule
java.lang.Object
org.apache.ode.bpel.extvar.jdbc.JdbcExternalVariableModule
- All Implemented Interfaces:
- ExternalVariableModule
public class JdbcExternalVariableModule
- extends java.lang.Object
- implements ExternalVariableModule
|
Field Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBC_NS
public static final java.lang.String JDBC_NS
- See Also:
- Constant Field Values
NAME
public static final javax.xml.namespace.QName NAME
- Unique QName for the engine, this should be the element used for the external-variable configuration.
JdbcExternalVariableModule
public JdbcExternalVariableModule()
configure
public void configure(javax.xml.namespace.QName pid,
java.lang.String extVarId,
org.w3c.dom.Element config)
throws ExternalVariableModuleException
- Specified by:
configure in interface ExternalVariableModule
- Throws:
ExternalVariableModuleException
getName
public javax.xml.namespace.QName getName()
- Specified by:
getName in interface ExternalVariableModule
isTransactional
public boolean isTransactional()
- Specified by:
isTransactional in interface ExternalVariableModule
shutdown
public void shutdown()
- Specified by:
shutdown in interface ExternalVariableModule
start
public void start()
- Specified by:
start in interface ExternalVariableModule
stop
public void stop()
- Specified by:
stop in interface ExternalVariableModule
writeValue
public ExternalVariableModule.Value writeValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Value newval)
throws ExternalVariableModuleException
- Specified by:
writeValue in interface ExternalVariableModule
- Throws:
ExternalVariableModuleException
readValue
public ExternalVariableModule.Value readValue(javax.xml.namespace.QName varType,
ExternalVariableModule.Locator locator)
throws ExternalVariableModuleException
- Specified by:
readValue in interface ExternalVariableModule
- Throws:
ExternalVariableModuleException
registerDataSource
public void registerDataSource(java.lang.String dsName,
javax.sql.DataSource ds)
- Manually register a data source. Handy if you don't want to use JNDI to look these up.
- Parameters:
dsName - ds -
Copyright © 2015 WSO2. All Rights Reserved.