Annotation Interface Implementation
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf set to true, this will act as the implementation for all interfaces declared, as opposed to the default behavior of having to explicitly declare which to implement when there are multiple.String[]If this is not empty, this implementation will only be injectable if the given dependencies are present.Controls which environment the implementation is allowed to be used in.String[]
-
Element Details
-
value
String[] value- Default:
{""}
-
name
String name- Default:
""
-
allInterfaces
boolean allInterfacesIf set to true, this will act as the implementation for all interfaces declared, as opposed to the default behavior of having to explicitly declare which to implement when there are multiple.- Default:
false
-
environment
String environmentControls which environment the implementation is allowed to be used in. If a loader-specific annotation is present, that will be used. Leave blank for this implementation to be used in all environments.Valid values are CLIENT and SERVER.
- Default:
""
-
dependencyModIds
String[] dependencyModIdsIf this is not empty, this implementation will only be injectable if the given dependencies are present.- Default:
{}
-