Annotation Interface ExposedBindingAnnotation
Defines a module which will be exposed to the scripting engine layer. Replaces
ElementService.value()
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Resolves an instance ofAnnotation
given the suppliedModuleDefinition
static @interface
Annotation type which indicates that no annotation type is defined.static class
Utility class for resolving the binding annotation. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionSpecifies a type which is used to construct the actual binding annotation.Class
<? extends Annotation> The binding annotation to use when exposing the module.
-
Element Details
-
value
Class<? extends Annotation> valueThe binding annotation to use when exposing the module.- Returns:
- the binding annotation
- Default:
dev.getelements.elements.rt.annotation.ExposedBindingAnnotation.Undefined.class
-
factory
Class<? extends ExposedBindingAnnotation.BindingAnnotationFactory> factorySpecifies a type which is used to construct the actual binding annotation.- Returns:
- the factory type
- Default:
dev.getelements.elements.rt.annotation.DefaultBindingAnnotationFactory.class
-