org.apache.synapse.mediators.db
Class DBLookupMediator
java.lang.Object
org.apache.synapse.mediators.AbstractMediator
org.apache.synapse.mediators.db.AbstractDBMediator
org.apache.synapse.mediators.db.DBLookupMediator
- All Implemented Interfaces:
- AspectConfigurable, ManagedLifecycle, Mediator, SynapseArtifact
public class DBLookupMediator
- extends AbstractDBMediator
Simple database table lookup mediator. Designed only for read/lookup
Methods inherited from class org.apache.synapse.mediators.db.AbstractDBMediator |
addDataSourceProperty, addDataSourceProperty, addStatement, createCustomDataSource, destroy, getDataSource, getDataSourceProps, getDbPoolView, getDSName, getPreparedStatement, getStatementList, handleException, init, mediate, setDataSource, setDataSourceInformation, setDataSourceName, setDbPoolView, setJndiProperties |
Methods inherited from class org.apache.synapse.mediators.AbstractMediator |
auditLog, auditWarn, configure, disableStatistics, enableStatistics, getAspectConfiguration, getDescription, getLog, getTraceState, getType, handleException, handleException, isStatisticsEnable, isTraceOn, isTraceOrDebugOn, setDescription, setEffectiveTraceState, setTraceState, shouldTrace, traceOrDebug, traceOrDebugWarn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBLookupMediator
public DBLookupMediator()
processStatement
protected void processStatement(Statement stmnt,
MessageContext msgCtx)
- Description copied from class:
AbstractDBMediator
- Subclasses must specify how each SQL statement is processed
- Specified by:
processStatement
in class AbstractDBMediator
- Parameters:
stmnt
- the SQL statementmsgCtx
- current message
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.