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 implementing ComponentDependencyFactory.
- Since:
- 3.2RC1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractComponentDependencyFactory
public AbstractComponentDependencyFactory()
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
Copyright © 2004-2012 XWiki. All Rights Reserved.