public static class XBeanComponentBuilder.RequirementRecipe<T>
extends org.apache.xbean.recipe.AbstractRecipe
Constructor and Description |
---|
RequirementRecipe(ComponentDescriptor<T> componentDescriptor,
ComponentRequirement requirement,
MutablePlexusContainer container,
boolean autoMatch) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreate(Type expectedType) |
protected Object |
internalCreate(Type expectedType,
boolean lazyRefAllowed) |
String |
toString() |
public RequirementRecipe(ComponentDescriptor<T> componentDescriptor, ComponentRequirement requirement, MutablePlexusContainer container, boolean autoMatch)
public boolean canCreate(Type expectedType)
protected Object internalCreate(Type expectedType, boolean lazyRefAllowed) throws org.apache.xbean.recipe.ConstructionException
internalCreate
in class org.apache.xbean.recipe.AbstractRecipe
org.apache.xbean.recipe.ConstructionException
public String toString()
toString
in class org.apache.xbean.recipe.AbstractRecipe
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.