com.espertech.esper.client.hook
Interface ExceptionHandlerFactory


public interface ExceptionHandlerFactory

Factory for exception handler instance(s).

Receives CEP engine contextual information and should return an implementation of the ExceptionHandler interface.


Method Summary
 ExceptionHandler getHandler(ExceptionHandlerFactoryContext context)
          Returns an exception handler instances, or null if the factory decided not to contribute an exception handler.
 

Method Detail

getHandler

ExceptionHandler getHandler(ExceptionHandlerFactoryContext context)
Returns an exception handler instances, or null if the factory decided not to contribute an exception handler.

Parameters:
context - contains the engine URI
Returns:
exception handler

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com