com.espertech.esper.client.annotation.Hook Maven / Gradle / Ivy
package com.espertech.esper.client.annotation;
/**
* Use this annotation to install a statement-specific hook or callback at time of statement creation.
*
* See {@link HookType} to the types of hooks that may be installed.
*/
public @interface Hook
{
/**
* Returns the simple class name (using imports) or fully-qualified class name of the hook.
* @return class name
*/
String hook();
/**
* Returns hook type.
* @return hook type
*/
HookType type();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy