com.espertech.esper.client.deploy
Interface StatementUserObjectResolver

All Superinterfaces:
java.io.Serializable

public interface StatementUserObjectResolver
extends java.io.Serializable

Implement this interface to provide a custom user object for the statements deployed via the deployment API.


Method Summary
 java.lang.Object getUserObject(StatementDeploymentContext context)
          Returns the user object to assign to a newly-deployed statement.
 

Method Detail

getUserObject

java.lang.Object getUserObject(StatementDeploymentContext context)
Returns the user object to assign to a newly-deployed statement.

Implementations would typically interrogate the context object EPL expression or module and module item information and determine the right user object to assign.

Parameters:
context - the statement's deployment context
Returns:
user object or null if none needs to be assigned

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