Package org.xwiki.component.annotation
Class AbstractComponentDependencyFactory
- java.lang.Object
-
- org.xwiki.component.annotation.AbstractComponentDependencyFactory
-
- All Implemented Interfaces:
ComponentDependencyFactory
- Direct Known Subclasses:
DefaultComponentDependencyFactory
public abstract class AbstractComponentDependencyFactory extends Object implements ComponentDependencyFactory
Provides useful methods for implementingComponentDependencyFactory
.- Since:
- 3.2RC1
- Version:
- $Id: fae843346c0ca576a42799c07c2f6711a8821492 $
-
-
Constructor Summary
Constructors Constructor Description AbstractComponentDependencyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Class<?>
getGenericRole(Field field)
Deprecated.protected boolean
isDependencyOfListType(Class<?> type)
Deprecated.since 4.0M1 it's useless-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.component.annotation.ComponentDependencyFactory
createComponentDependency
-
-
-
-
Method Detail
-
isDependencyOfListType
@Deprecated protected boolean isDependencyOfListType(Class<?> type)
Deprecated.since 4.0M1 it's useless- Parameters:
type
- the type for which to verify if it's a list or not- Returns:
- true if the type is a list (Collection or Map), false otherwise
-
getGenericRole
@Deprecated protected Class<?> getGenericRole(Field field)
Deprecated.Extract generic type from the list field.- Parameters:
field
- the list field to inject- Returns:
- the role of the components in the list
- Since:
- 4.0M1 it's useless
-
-