info.magnolia.objectfactory.configuration
Class ComponentProviderConfiguration
java.lang.Object
info.magnolia.objectfactory.configuration.ComponentProviderConfiguration
- All Implemented Interfaces:
- Cloneable
public class ComponentProviderConfiguration
- extends Object
- implements Cloneable
Configuration used to create component providers.
- Version:
- $Id$
ComponentProviderConfiguration
public ComponentProviderConfiguration()
addComponent
public void addComponent(ComponentConfiguration componentConfiguration)
addTypeMapping
public void addTypeMapping(Class<?> from,
Class<?> to)
getTypeMapping
public Map<Class<?>,Class<?>> getTypeMapping()
getComponents
public Map<Class,ComponentConfiguration> getComponents()
getConfigurers
public List<ComponentConfigurer> getConfigurers()
addConfigurer
public boolean addConfigurer(ComponentConfigurer configurer)
registerImplementation
public <T> void registerImplementation(Class<T> type,
Class<? extends T> implementation)
registerImplementation
public <T> void registerImplementation(Class<T> type)
registerInstance
public <T> void registerInstance(Class<T> type,
Object instance)
combine
public void combine(ComponentProviderConfiguration components)
clone
public ComponentProviderConfiguration clone()
- Overrides:
clone
in class Object
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.