com.espertech.esper.core.service
Class StatementLifecycleSvcImpl.EPStatementDesc

java.lang.Object
  extended by com.espertech.esper.core.service.StatementLifecycleSvcImpl.EPStatementDesc
Enclosing class:
StatementLifecycleSvcImpl

public static class StatementLifecycleSvcImpl.EPStatementDesc
extends java.lang.Object

Statement information.


Constructor Summary
StatementLifecycleSvcImpl.EPStatementDesc(EPStatementSPI epStatement, EPStatementStartMethod startMethod, StatementContext statementContext)
          Ctor.
 
Method Summary
 EPStatementDestroyMethod getDestroyMethod()
          Return destroy method.
 EPStatementSPI getEpStatement()
          Returns the statement.
 EPStatementStartMethod getStartMethod()
          Returns the start method.
 StatementContext getStatementContext()
          Returns the statement context.
 EPStatementStopMethod getStopMethod()
          Returns the stop method.
 void setDestroyMethod(EPStatementDestroyMethod destroyMethod)
          Set method to call when destroyed.
 void setStopMethod(EPStatementStopMethod stopMethod)
          Sets the stop method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementLifecycleSvcImpl.EPStatementDesc

public StatementLifecycleSvcImpl.EPStatementDesc(EPStatementSPI epStatement,
                                                 EPStatementStartMethod startMethod,
                                                 StatementContext statementContext)
Ctor.

Parameters:
epStatement - the statement
startMethod - the start method
statementContext - statement context
Method Detail

getEpStatement

public EPStatementSPI getEpStatement()
Returns the statement.

Returns:
statement.

getStartMethod

public EPStatementStartMethod getStartMethod()
Returns the start method.

Returns:
start method

getStopMethod

public EPStatementStopMethod getStopMethod()
Returns the stop method.

Returns:
stop method

setStopMethod

public void setStopMethod(EPStatementStopMethod stopMethod)
Sets the stop method.

Parameters:
stopMethod - to set

getStatementContext

public StatementContext getStatementContext()
Returns the statement context.

Returns:
statement context

setDestroyMethod

public void setDestroyMethod(EPStatementDestroyMethod destroyMethod)
Set method to call when destroyed.

Parameters:
destroyMethod - method

getDestroyMethod

public EPStatementDestroyMethod getDestroyMethod()
Return destroy method.

Returns:
method.

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