
sirius.kernel.di.std.Parts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-kernel Show documentation
Show all versions of sirius-kernel Show documentation
Provides common core classes and the microkernel powering all Sirius applications
/*
* 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;
/**
* Inserts all parts registered in the GlobalContext, either as Collection or as
* {@link sirius.kernel.di.PartCollection}.
*
* This is the central extension mechanism to permit other modules to add functionality to the current one, as yet
* unknown classes can be registered for the given lookup class. Using this yields in loose coupling and extensible
* software design.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Parts {
/**
* Determines the lookup class used to retrieve the parts from the GlobalContext.
*
* @return the lookup class used to fetch all parts of interest.
*/
Class> value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy