Interface StatementUserObjectRuntimeOption
public interface StatementUserObjectRuntimeOption
Implement this interface to provide a custom user object at runtime for statements when they are deployed.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the user object to assign to a newly-deployed statement.
-
Method Details
-
getUserObject
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.
When using HA the returned object must implement the Serializable interface.
- Parameters:
env
- the statement's deployment context- Returns:
- user object or null if none needs to be assigned
-