Class XBeanComponentBuilder.RequirementRecipe<T>
- java.lang.Object
-
- org.apache.xbean.recipe.AbstractRecipe
-
- org.codehaus.plexus.component.builder.XBeanComponentBuilder.RequirementRecipe<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.xbean.recipe.Recipe
- Enclosing class:
- XBeanComponentBuilder<T>
public static class XBeanComponentBuilder.RequirementRecipe<T> extends org.apache.xbean.recipe.AbstractRecipe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequirementRecipe(ComponentDescriptor<T> componentDescriptor, ComponentRequirement requirement, MutablePlexusContainer container, boolean autoMatch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCreate(Type expectedType)
protected Object
internalCreate(Type expectedType, boolean lazyRefAllowed)
String
toString()
-
-
-
Constructor Detail
-
RequirementRecipe
public RequirementRecipe(ComponentDescriptor<T> componentDescriptor, ComponentRequirement requirement, MutablePlexusContainer container, boolean autoMatch)
-
-
Method Detail
-
canCreate
public boolean canCreate(Type expectedType)
-
internalCreate
protected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws org.apache.xbean.recipe.ConstructionException
- Specified by:
internalCreate
in classorg.apache.xbean.recipe.AbstractRecipe
- Throws:
org.apache.xbean.recipe.ConstructionException
-
toString
public String toString()
- Overrides:
toString
in classorg.apache.xbean.recipe.AbstractRecipe
-
-