net.ttddyy.dsproxy.listener
Class ChainListener

java.lang.Object
  extended by net.ttddyy.dsproxy.listener.ChainListener
All Implemented Interfaces:
QueryExecutionListener

public class ChainListener
extends Object
implements QueryExecutionListener

Execute chain of listeners.

Author:
Tadaya Tsuyukubo

Constructor Summary
ChainListener()
           
 
Method Summary
 void addListener(QueryExecutionListener listner)
           
 void afterQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
           
 void beforeQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
           
 List<QueryExecutionListener> getListeners()
           
 void setListeners(List<QueryExecutionListener> listeners)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainListener

public ChainListener()
Method Detail

beforeQuery

public void beforeQuery(ExecutionInfo execInfo,
                        List<QueryInfo> queryInfoList)
Specified by:
beforeQuery in interface QueryExecutionListener

afterQuery

public void afterQuery(ExecutionInfo execInfo,
                       List<QueryInfo> queryInfoList)
Specified by:
afterQuery in interface QueryExecutionListener

addListener

public void addListener(QueryExecutionListener listner)

getListeners

public List<QueryExecutionListener> getListeners()

setListeners

public void setListeners(List<QueryExecutionListener> listeners)


Copyright © 2012. All Rights Reserved.