@Inherited @Target(value=TYPE) @Retention(value=RUNTIME) public @interface FactoryBinding
BackendFactory.| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT_VARIANT
The default variant.
|
| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends BackendFactory> |
factory
The type of the
BackendFactory implied by this binding. |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
concrete
true if the annotated class represents a concrete implementation, false if it's an abstract or a
base class. |
String |
variant
The variant identifier of this binding; it should be unique for a given
BackendFactory. |
@Nonnull public abstract Class<? extends BackendFactory> factory
BackendFactory implied by this binding.@Nonnull public abstract String variant
BackendFactory.Copyright © 2013–2019 Atlanmod. All rights reserved.