org.xwiki.component.annotation
Class DefaultComponentDependencyFactory

java.lang.Object
  extended by org.xwiki.component.annotation.AbstractComponentDependencyFactory
      extended by org.xwiki.component.annotation.DefaultComponentDependencyFactory
All Implemented Interfaces:
ComponentDependencyFactory

public class DefaultComponentDependencyFactory
extends AbstractComponentDependencyFactory

Uses Inject and Named annotations to recognize a Component Dependency.

Since:
3.2RC1
Version:
$Id: 3bc99e5789e63bbd103d665985286a014b6d7c80 $

Constructor Summary
DefaultComponentDependencyFactory()
           
 
Method Summary
 ComponentDependency createComponentDependency(Field field)
           
 
Methods inherited from class org.xwiki.component.annotation.AbstractComponentDependencyFactory
getGenericRole, isDependencyOfListType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultComponentDependencyFactory

public DefaultComponentDependencyFactory()
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


Copyright © 2004-2012 XWiki. All Rights Reserved.