Package-level declarations

General annotations which apply to all applications.

General annotations which apply to all applications.

General annotations which apply to all applications.

General annotations which apply to all applications.

Types

Link copied to clipboard
annotation class API

Marks an application-level class as an API interface, which defines the abstract surface of a single unit of business logic; combined with Logic, classes annotated with API constitute a set of interface and implementation pairs.

Link copied to clipboard
expect annotation class Context

Marks a class as "context"-phase for purposes of dependency injection. Classes marked with this annotation are initialized eagerly on application startup.

actual annotation class Context

Marks a class as "context"-phase for purposes of dependency injection. Classes marked with this annotation are initialized eagerly on application startup.

actual typealias Context = io.micronaut.context.annotation.Context

Marks a class as "context"-phase for purposes of dependency injection. Classes marked with this annotation are initialized eagerly on application startup.

actual annotation class Context

Marks a class as "context"-phase for purposes of dependency injection. Classes marked with this annotation are initialized eagerly on application startup.

Link copied to clipboard

Triggers eager initialization on the target class or type.

Link copied to clipboard
@Singleton
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Endpoint

Marks a class as an API endpoint, which enables functionality for type conversion between elide.model.WireMessage types and Micronaut requests / responses.

Link copied to clipboard
expect annotation class Factory

Marks a class as a factory for an injected type. Factories are responsible for creating instances of injected types. On JVM platforms, this annotation is aliased to a Micronaut Factory annotation.

actual annotation class Factory

Marks a class as a factory for an injected type. Factories are responsible for creating instances of injected types.

actual typealias Factory = io.micronaut.context.annotation.Factory

Marks a class as a factory for an injected type. Factories are responsible for creating instances of injected types. On JVM platforms, this annotation is aliased to a Micronaut Factory annotation.

actual annotation class Factory

Marks a class as a factory for an injected type. Factories are responsible for creating instances of injected types.

Link copied to clipboard
annotation class Generated

Marks a given Java or Kotlin class as "Generated," which excuses it from coverage requirements and other tooling strictness; should be used sparingly.

Link copied to clipboard
expect annotation class Inject

This annotation marks a constructor argument, field/property, or parameter as an injected value. Injected values are generally resolved at build-time but may be resolved at run-time. Dependency Injection (DI) is an opt-in pattern which inverts control of object creation. Instead of creating objects directly, they are created by a DI container and provided to each object that requires them.

actual annotation class Inject

This annotation marks a constructor argument, field/property, or parameter as an injected value. Injected values are generally resolved at build-time but may be resolved at run-time. Dependency Injection (DI) is an opt-in pattern which inverts control of object creation. Instead of creating objects directly, they are created by a DI container and provided to each object that requires them.

actual typealias Inject = jakarta.inject.Inject

This annotation marks a constructor argument, field/property, or parameter as an injected value. Injected values are generally resolved at build-time but may be resolved at run-time. Dependency Injection (DI) is an opt-in pattern which inverts control of object creation. Instead of creating objects directly, they are created by a DI container and provided to each object that requires them.

actual annotation class Inject

This annotation marks a constructor argument, field/property, or parameter as an injected value. Injected values are generally resolved at build-time but may be resolved at run-time. Dependency Injection (DI) is an opt-in pattern which inverts control of object creation. Instead of creating objects directly, they are created by a DI container and provided to each object that requires them.

Link copied to clipboard

Marks an application class as "business logic," which automatically makes it eligible for dependency injection, autowired logging, and other framework features.

Link copied to clipboard
expect annotation class Named

This annotation works in cooperation with Inject to qualify injected values via simple string names. "Qualified" values are filtered by their qualification criteria at injection time. In this case, we are filtering by a simple name which should correspond with a name of equal value on an injected instance.

actual annotation class Named

This annotation works in cooperation with Inject to qualify injected values via simple string names. "Qualified" values are filtered by their qualification criteria at injection time. In this case, we are filtering by a simple name which should correspond with a name of equal value on an injected instance.

actual typealias Named = jakarta.inject.Named

This annotation works in cooperation with Inject to qualify injected values via simple string names. "Qualified" values are filtered by their qualification criteria at injection time. In this case, we are filtering by a simple name which should correspond with a name of equal value on an injected instance.

actual annotation class Named

This annotation works in cooperation with Inject to qualify injected values via simple string names. "Qualified" values are filtered by their qualification criteria at injection time. In this case, we are filtering by a simple name which should correspond with a name of equal value on an injected instance.

Link copied to clipboard
expect annotation class Qualifier

This annotation works in cooperation with Inject to qualify an injectable value by some criteria. Qualifiers can be affixed to any injectable value; the annotation values at the call-site must match the values on an eligible instance for injection.

actual annotation class Qualifier

This annotation works in cooperation with Inject to qualify an injectable value by some criteria. Qualifiers can be affixed to any injectable value; the annotation values at the call-site must match the values on an eligible instance for injection.

actual typealias Qualifier = jakarta.inject.Qualifier

This annotation works in cooperation with Inject to qualify an injectable value by some criteria. Qualifiers can be affixed to any injectable value; the annotation values at the call-site must match the values on an eligible instance for injection.

actual annotation class Qualifier

This annotation works in cooperation with Inject to qualify an injectable value by some criteria. Qualifiers can be affixed to any injectable value; the annotation values at the call-site must match the values on an eligible instance for injection.

Link copied to clipboard
expect annotation class Singleton

Marks a class which participates in injection (DI) as a singleton; singletons are classes with the constraint that only one instance may exist at runtime. In injected contexts, the singleton lifecycle is managed by the DI container.

actual annotation class Singleton

Marks a class which participates in injection (DI) as a singleton; singletons are classes with the constraint that only one instance may exist at runtime. In injected contexts, the singleton lifecycle is managed by the DI container.

actual typealias Singleton = jakarta.inject.Singleton

Marks a class which participates in injection (DI) as a singleton; singletons are classes with the constraint that only one instance may exist at runtime. In injected contexts, the singleton lifecycle is managed by the DI container.

actual annotation class Singleton

Marks a class which participates in injection (DI) as a singleton; singletons are classes with the constraint that only one instance may exist at runtime. In injected contexts, the singleton lifecycle is managed by the DI container.