Constructor and Description |
---|
ComponentProviderConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(ComponentConfiguration componentConfiguration) |
boolean |
addConfigurer(ComponentConfigurer configurer) |
void |
addTypeMapping(Class<?> from,
Class<?> to) |
ComponentProviderConfiguration |
clone() |
void |
combine(ComponentProviderConfiguration components) |
Map<Class,ComponentConfiguration> |
getComponents() |
List<ComponentConfigurer> |
getConfigurers() |
Map<Class<?>,Class<?>> |
getTypeMapping() |
<T> void |
registerImplementation(Class<T> type) |
<T> void |
registerImplementation(Class<T> type,
Class<? extends T> implementation) |
<T> void |
registerInstance(Class<T> type,
Object instance) |
public void addComponent(ComponentConfiguration componentConfiguration)
public Map<Class,ComponentConfiguration> getComponents()
public List<ComponentConfigurer> getConfigurers()
public boolean addConfigurer(ComponentConfigurer configurer)
public <T> void registerImplementation(Class<T> type, Class<? extends T> implementation)
public <T> void registerImplementation(Class<T> type)
public void combine(ComponentProviderConfiguration components)
public ComponentProviderConfiguration clone()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.