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

com.remondis.limbus.system.ComponentConsumer 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;

/**
 * This interface describes a component consumer that performs operations on a component managed by the
 * {@link LimbusSystem}.
 *
 * @author schuettec
 *
 */
@FunctionalInterface
interface ComponentConsumer {

  /**
   * Processes a component.
   *
   * @param component
   *        The component to perform an operation on.
   * @throws LimbusComponentException
   *         Thrown on any component specific error.
   */
  void consume(Component component) throws LimbusComponentException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy