info.magnolia.objectfactory.configuration
Class ComponentProviderConfigurationBuilder
java.lang.Object
info.magnolia.objectfactory.configuration.ComponentProviderConfigurationBuilder
public class ComponentProviderConfigurationBuilder
- extends Object
Builder for creating ComponentProviderConfiguration
s from component definitions.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentProviderConfigurationBuilder
public ComponentProviderConfigurationBuilder()
readConfiguration
public ComponentProviderConfiguration readConfiguration(List<String> resourcePaths,
String id)
- Reads component definitions from the specified resources and returns a
ComponentProviderConfiguration
.
getComponentsFromModules
public ComponentProviderConfiguration getComponentsFromModules(String id,
List<ModuleDefinition> moduleDefinitions)
- Reads component definitions from module descriptors and return a
ComponentProviderConfiguration
containing all components with the given id.
addComponents
public void addComponents(ComponentProviderConfiguration configuration,
ComponentsDefinition componentsDefinition)
getConfigurer
protected ComponentConfigurer getConfigurer(ConfigurerDefinition configurerDefinition)
getComponent
protected ComponentConfiguration getComponent(ComponentDefinition definition)
getImplementation
protected ImplementationConfiguration getImplementation(ComponentDefinition definition)
getProvider
protected ComponentConfiguration getProvider(ComponentDefinition definition)
getConfigured
protected ComponentConfiguration getConfigured(ComponentDefinition definition)
getObserved
protected ComponentConfiguration getObserved(ComponentDefinition definition)
isImplementation
protected boolean isImplementation(ComponentDefinition definition)
isProvider
protected boolean isProvider(ComponentDefinition definition)
isConfigured
protected boolean isConfigured(ComponentDefinition definition)
isObserved
protected boolean isObserved(ComponentDefinition definition)
parseLazyFlag
protected boolean parseLazyFlag(ComponentDefinition definition)
classForName
protected Class<?> classForName(String className)
- Returns the class denoted by the supplied class name without initializing the class.
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.