org.apache.synapse.mediators.db
Class DBLookupMediator

java.lang.Object
  extended by org.apache.synapse.mediators.AbstractMediator
      extended by org.apache.synapse.mediators.db.AbstractDBMediator
          extended by 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


Field Summary
 
Fields inherited from class org.apache.synapse.mediators.AbstractMediator
log, trace, traceState
 
Constructor Summary
DBLookupMediator()
           
 
Method Summary
protected  void processStatement(Statement stmnt, MessageContext msgCtx)
          Subclasses must specify how each SQL statement is processed
 
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
 

Constructor Detail

DBLookupMediator

public DBLookupMediator()
Method Detail

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 statement
msgCtx - current message


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.