protected Object internalCreate( Type expectedType, boolean lazyRefAllowed ) throws ConstructionException
{
setComponentStackProperty( child.getName() );
try
{
ConverterLookup lookup = createConverterLookup();
ConfigurationConverter converter = lookup.lookupConverterForType( toClass( expectedType ) );
// todo this will not work for static factories
ObjectRecipe caller = (ObjectRecipe) RecipeHelper.getCaller();
Class parentClass = toClass( caller.getType() );