org.apache.ode.bpel.extvar.jdbc
Class JdbcExternalVariableModule

java.lang.Object
  extended by org.apache.ode.bpel.extvar.jdbc.JdbcExternalVariableModule
All Implemented Interfaces:
ExternalVariableModule

public class JdbcExternalVariableModule
extends java.lang.Object
implements ExternalVariableModule


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.ode.bpel.evar.ExternalVariableModule
ExternalVariableModule.Locator, ExternalVariableModule.Value
 
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.
 
Constructor Summary
JdbcExternalVariableModule()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

JdbcExternalVariableModule

public JdbcExternalVariableModule()
Method Detail

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.