net.simplace.processors.CreateDBConnectionProcessor

This processor is based on jdbc and creates a connectionpool with the singleton connection pool manager
Required input parameters:
Parameter Description
driver (optional) JDBC driver used for the communication to the database.
Default: org.hsqldb.jdbcDriver
url URL for the given JDBC driver.
Default: jdbc:hsqldb:mem
resultParamKey Output parameter key where the connection is stored in
username (optional) Username of database
password (optional) Password of database



public class CreateDBConnectionProcessor extends
net.simplace.util.pipeline.FWProcessor {
// Public Constructors
public CreateDBConnectionProcessor();

// Constants
public static final String DRIVER_KEY;
public static final String URL_KEY;
public static final String USER_KEY;
public static final String PW_KEY;
public static final String RESULTKEY_KEY;

// Public Instance Methods
public boolean checkInParameterMap(); // Defines
net.simplace.util.pipeline.FWProcessor


Checks whether the in-channel contains all required parameters.

// Protected Instance Methods
protected boolean process() throws PipeLineException; // Defines
net.simplace.util.pipeline.FWProcessor


creates a connection pool from a existing or non existing database. OutParameter will be a database connection.
returns ever {@code true}


}



Hierarchy: java.lang.Object - net.simplace.util.pipeline.FWProcessor - CreateDBConnectionProcessor