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

com.remondis.limbus.system.LimbusComponent Maven / Gradle / Ivy

Go to download

The Limbus System is a small light-weight CDI framework managing the Limbus Core Components. The object graph is represented by an XML configuration file or can be build using the Limbus System API. This module delivers an optional system component that visualizes the object graph and its dependencies after initializing: com.remondis.limbus.system.visualize.LimbusSystemVisualizer This component can be added to the Limbus System. To keep the dependencies of this module transparent and light-weight, the graph renderer is declared as an optional dependency. Add the following dependencies to your project to use the visualisation component: <!-- Graph Stream for Visualization feature This is an optional dependency and only required if using the com.remondis.limbus.system.visualize.LimbusSystemVisualizer --> <dependency> <groupId>org.graphstream</groupId> <artifactId>gs-core</artifactId> <version>1.3</version> </dependency> <dependency> <groupId>org.graphstream</groupId> <artifactId>gs-ui</artifactId> <version>1.3</version> </dependency>

There is a newer version: 3.1.0
Show newest version
package com.remondis.limbus.system;

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

/**
 * Annotation that can be attached on fields of a class to request injection of a Limbus component managed by a
 * {@link LimbusSystem}.
 * 

* Note: The injection of components can only be performed on objects that are registered and managed by a * {@link LimbusSystem} *

*

* Note: The injection can only target objects known by the same {@link LimbusSystem} the requesting component * is managed by. *

* * @author schuettec * */ @Documented @Retention(RetentionPolicy.RUNTIME) @Inherited @Target(ElementType.FIELD) public @interface LimbusComponent { /** * Specified the request type of the component to inject. */ Class value() default Void.class; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy