All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bridge.service.annotation.Synchronous Maven / Gradle / Ivy

Go to download

Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.

There is a newer version: 4.0.267
Show newest version
package jadex.bridge.service.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 *  If void methods are declared synchronous they will block
 *  the caller until the method has been executed on the
 *  remote side (exceptions thus can arrive).
 *  Synchronous methods are discouraged as they may lead to deadlocks.
 *  
 *  Applicable for methods with void return value
 *  that are asynchronous by default.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Synchronous
{
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy