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

jadex.bridge.service.annotation.Reference 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;

/**
 *  Can be used to give objects reference semantics in local
 *  and remote calls:
 *  - in local calls references are not copied.
 *  - in remote calls references are made to proxy objects.
 */
@Target({ElementType.PARAMETER, ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Reference
{
	/**
	 *  Set the local reference state.
	 */
	public boolean local() default true;
	
	/**
	 *  Set the remote reference state.
	 */
	public boolean remote() default true;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy