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

sirius.kernel.di.std.Framework Maven / Gradle / Ivy

Go to download

Provides common core classes and the microkernel powering all Sirius applications

There is a newer version: 12.9.1
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.kernel.di.std;

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

/**
 * Can be used to require the presence of a framework when processing class load actions.
 * 

* Note that the {@link Register} annotation itself as ({@link Register#framework()} to specify * the framework required. So this annotation is intended for custom class load actions. */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD}) public @interface Framework { /** * Determines the framework this part belongs to. If a non empty string is given, the part is only registered, if * {@link sirius.kernel.Sirius#isFrameworkEnabled(String)} returns true for the given framework. * * @return the name of the framework which has to be enabled in order for this annotation to become active */ String value(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy