Constructor and Description |
---|
ComponentProviderConfiguration() |
public void addComponent(ComponentConfiguration componentConfiguration)
public void addTypeMapping(com.google.inject.Key<?> from, Class<?> to)
@Deprecated public Map<Class<?>,Class<?>> getTypeMapping()
getAnnotatedTypeMappings()
instead.public Map<com.google.inject.Key,ComponentConfiguration> getAnnotatedComponents()
@Deprecated public Map<Class,ComponentConfiguration> getComponents()
getAnnotatedComponents()
instead.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 <T> void registerProvider(Class<T> type, Class<? extends com.google.inject.Provider<T>> providerClass)
public void combine(ComponentProviderConfiguration components)
public ComponentProviderConfiguration clone()
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.