Package org.xwiki.component.annotation
Class DefaultComponentDependencyFactory
- java.lang.Object
-
- org.xwiki.component.annotation.AbstractComponentDependencyFactory
-
- org.xwiki.component.annotation.DefaultComponentDependencyFactory
-
- All Implemented Interfaces:
ComponentDependencyFactory
public class DefaultComponentDependencyFactory extends AbstractComponentDependencyFactory
UsesInject
andNamed
annotations to recognize a Component Dependency.- Since:
- 3.2RC1
- Version:
- $Id: a41c8e4843653a09ae874f87ff5ff93d4800c1d3 $
-
-
Constructor Summary
Constructors Constructor Description DefaultComponentDependencyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentDependency
createComponentDependency(Field field)
-
Methods inherited from class org.xwiki.component.annotation.AbstractComponentDependencyFactory
getGenericRole, isDependencyOfListType
-
-
-
-
Method Detail
-
createComponentDependency
public ComponentDependency createComponentDependency(Field field)
- Parameters:
field
- the field for which to extract a Component Dependency- Returns:
- the Component Dependency instance created from the passed field or null if the field doesn't match the requirements
-
-