com.fluxtion.api.annotations.OnEventComplete Maven / Gradle / Ivy
/*
* Copyright (C) 2018 V12 Technology Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Server Side Public License for more details.
*
* You should have received a copy of the Server Side Public License
* along with this program. If not, see
* .
*/
package com.fluxtion.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks a method to be invoked in the after event phase of event processing. A SEP
* processes event handling methods in two phases:
*
* - Event in phase - processes handler methods in topological order
*
- After event phase - processes handler methods in reverse topological
* order
*
*
* An OnEventComplete method will be called after all dependents have finished
* processing any
* after event phase methods. OnEventComplete methods are only called if the
* following
* conditions are met:
*
* - An event in phase handler is present in the same instance
*
- An event in phase handler is on the current execution path.
*
*
* @author Greg Higgins
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface OnEventComplete {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy