public interface ComponentDependencyFactory
ComponentDependency
instances from a Method Field
. There can be several
implementations, for example one using @Inject
and @Named
annotations to describe a Component
Dependency. Note that this interface allows cleanly plugging new implementations to extend how Component Descriptor
are recognized. This allows for example to cleanly support legacy implementation (for example to use the old
@Requirement
annotations we used to use).Modifier and Type | Method and Description |
---|---|
ComponentDependency |
createComponentDependency(Field field) |
ComponentDependency createComponentDependency(Field field)
field
- the field for which to extract a Component DependencyCopyright © 2004–2021 XWiki. All rights reserved.