Top Description Methods
jakarta.enterprise.inject.build.compatible.spi

public @Interface SkipIfPortableExtensionPresent

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, jakarta.enterprise.inject.spi.Extension

If a build compatible extension is annotated @SkipIfPortableExtensionPresent, it is ignored when the CDI container can execute portable extensions and determines that a portable extension of given class is present.

It is expected that the specified portable extension class will mirror the functionality of the annotated build compatible extension. This allows portable extensions and build compatible extensions to coexist.

Since
4.0

Method Summary

Modifier and TypeMethod and Description
public Class<? extends Extension>

Returns:

a portable extension class
value
()

A class implementing Extension that is expected to mirror the functionality of the annotated build compatible extension.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public Class<? extends Extension> value()

A class implementing Extension that is expected to mirror the functionality of the annotated build compatible extension.

Returns:Class<? extends Extension>

a portable extension class