Package org.apache.xbean.recipe
Class MapRecipe
- java.lang.Object
-
- org.apache.xbean.recipe.AbstractRecipe
-
- org.apache.xbean.recipe.MapRecipe
-
- All Implemented Interfaces:
java.io.Serializable
,Recipe
public class MapRecipe extends AbstractRecipe
- Version:
- $Rev: 6687 $ $Date: 2005-12-28T21:08:56.733437Z $
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapRecipe.DummyDictionaryAsMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
allow(Option option)
boolean
canCreate(java.lang.reflect.Type type)
void
disallow(Option option)
java.util.List<Recipe>
getConstructorRecipes()
java.util.List<Recipe>
getNestedRecipes()
protected java.lang.Object
internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed)
void
put(java.lang.Object key, java.lang.Object value)
void
putAll(java.util.Map<?,?> map)
void
setRegistry(PropertyEditorRegistry registry)
-
Methods inherited from class org.apache.xbean.recipe.AbstractRecipe
create, create, create, getName, getPriority, setName, toString
-
-
-
-
Method Detail
-
setRegistry
public void setRegistry(PropertyEditorRegistry registry)
-
getNestedRecipes
public java.util.List<Recipe> getNestedRecipes()
- Specified by:
getNestedRecipes
in interfaceRecipe
- Overrides:
getNestedRecipes
in classAbstractRecipe
-
getConstructorRecipes
public java.util.List<Recipe> getConstructorRecipes()
- Specified by:
getConstructorRecipes
in interfaceRecipe
- Overrides:
getConstructorRecipes
in classAbstractRecipe
-
canCreate
public boolean canCreate(java.lang.reflect.Type type)
-
internalCreate
protected java.lang.Object internalCreate(java.lang.reflect.Type expectedType, boolean lazyRefAllowed) throws ConstructionException
- Specified by:
internalCreate
in classAbstractRecipe
- Throws:
ConstructionException
-
put
public void put(java.lang.Object key, java.lang.Object value)
-
putAll
public void putAll(java.util.Map<?,?> map)
-
-