public class BeanRecipe extends AbstractRecipe
Recipe to create POJOs.name, prototype| Constructor and Description |
|---|
BeanRecipe(String name,
ExtendedBlueprintContainer blueprintContainer,
Object type,
boolean allowsFieldInjection) |
addPartialObject, convert, convert, create, getName, isPrototype, loadType, setPrototype, toStringpublic BeanRecipe(String name, ExtendedBlueprintContainer blueprintContainer, Object type, boolean allowsFieldInjection)
public void setFactoryMethod(String method)
public void setFactoryComponent(Recipe factory)
public void setReorderArguments(boolean reorder)
public void setInitMethod(String initMethod)
public String getInitMethod()
public void setDestroyMethod(String destroyMethod)
public String getDestroyMethod()
public void setInterceptorLookupKey(BeanMetadata metadata)
public List<Recipe> getConstructorDependencies()
RecipegetConstructorDependencies in interface RecipegetConstructorDependencies in class AbstractRecipepublic List<Recipe> getDependencies()
Recipeprotected Class loadClass(String className)
loadClass in class AbstractRecipeprotected ReifiedType loadType(String className)
loadType in class AbstractRecipeprotected Method getInitMethod(Object instance) throws ComponentDefinitionException
ComponentDefinitionExceptionpublic Method getDestroyMethod(Object instance) throws ComponentDefinitionException
ComponentDefinitionExceptionprotected Object internalCreate() throws ComponentDefinitionException
internalCreate in class AbstractRecipeComponentDefinitionExceptionpublic void destroy(Object obj)
Recipedestroy in interface Recipedestroy in class AbstractRecipeobj - the instance to be destroyedpublic void setProperties(Object instance) throws ComponentDefinitionException
ComponentDefinitionExceptionpublic Class getType()
Copyright © 2014. All rights reserved.