Modifier and Type | Class and Description |
---|---|
class |
AbstractDefinitionProviderWrapper<T>
Abstract implementation of
DefinitionProvider wrappers. |
class |
DefinitionProviderWrapper<T>
Default implementation
DefinitionProvider wrapper implementation, wraps a concrete
DefinitionProvider and delegates to it. |
Modifier and Type | Method and Description |
---|---|
DefinitionProvider<T> |
DefinitionProviderBuilder.build() |
DefinitionProvider<T> |
DefinitionProviderBuilder.buildFromTransformationResult(info.magnolia.transformer.TransformationResult<T> transformationResult) |
DefinitionProvider<T> |
DefinitionQuery.findSingle()
Returns a single provider matching the criteria or throws an exception if not unique.
|
DefinitionProvider<T> |
RegistryMap.get(DefinitionMetadata key) |
DefinitionProvider<T> |
RegistryMap.getByStringKey(String stringKey) |
protected DefinitionProvider<T> |
AbstractRegistry.getDecoratedDefinitionProvider(DefinitionProvider<T> provider) |
protected DefinitionProvider<T> |
DefinitionProviderWrapper.getDelegate() |
protected abstract DefinitionProvider<T> |
AbstractDefinitionProviderWrapper.getDelegate() |
DefinitionProvider<T> |
Registry.getProvider(DefinitionMetadata id)
Gets a definition provider by its complete id object.
|
DefinitionProvider<T> |
AbstractRegistry.getProvider(DefinitionMetadata id) |
DefinitionProvider<T> |
Registry.getProvider(String referenceId)
Convenience method, where the given String is what the corresponding
DefinitionMetadata.getReferenceId() would return. |
DefinitionProvider<T> |
AbstractRegistry.getProvider(String referenceId) |
DefinitionProvider<T> |
RegistryMap.getRequired(DefinitionMetadata key) |
DefinitionProvider<T> |
RegistryMap.getRequiredByStringKey(String stringKey) |
protected DefinitionProvider<T> |
AbstractRegistry.onRegister(DefinitionProvider<T> provider) |
protected DefinitionProvider<T> |
AbstractRegistry.validate(DefinitionProvider<T> provider) |
Modifier and Type | Method and Description |
---|---|
Collection<DefinitionProvider> |
RegistryFacadeImpl.byModule(String moduleName) |
Collection<DefinitionProvider> |
RegistryFacade.byModule(String moduleName)
Convenience method to find all definitions registered by the given module.
|
Collection<DefinitionProvider> |
RegistryFacadeImpl.bySource(ConfigurationSourceType sourceType) |
Collection<DefinitionProvider> |
RegistryFacade.bySource(ConfigurationSourceType sourceType)
Convenience method to find all definitions registered trough a given
ConfigurationSourceType . |
Collection<DefinitionProvider> |
RegistryFacadeImpl.byType(DefinitionType type) |
Collection<DefinitionProvider> |
RegistryFacade.byType(DefinitionType type)
Convenience method to find all definitions of a certain
DefinitionType . |
abstract Collection<DefinitionProvider<T>> |
DefinitionQuery.findMultiple()
Returns all providers matching the given criteria or an empty collection if there are no matches.
|
Collection<DefinitionProvider<T>> |
Registry.getAllProviders() |
Collection<DefinitionProvider<T>> |
AbstractRegistry.getAllProviders() |
Collection<DefinitionProvider<T>> |
RegistryMap.values() |
Modifier and Type | Method and Description |
---|---|
protected String |
RegistryMap.asStringKey(DefinitionProvider<T> provider) |
protected DefinitionProvider<T> |
AbstractRegistry.getDecoratedDefinitionProvider(DefinitionProvider<T> provider) |
protected DefinitionMetadata |
RegistryMap.keyFromValue(DefinitionProvider<T> provider) |
<T> void |
DefinitionProviderProblemLogger.logProblems(DefinitionProvider<T> definitionProvider) |
protected DefinitionProvider<T> |
AbstractRegistry.onRegister(DefinitionProvider<T> provider) |
DefinitionMetadata |
RegistryMap.put(DefinitionProvider<T> value) |
void |
Registry.register(DefinitionProvider<T> definitionProvider) |
void |
AbstractRegistry.register(DefinitionProvider<T> provider) |
protected DefinitionProvider<T> |
AbstractRegistry.validate(DefinitionProvider<T> provider) |
Modifier and Type | Method and Description |
---|---|
Set<DefinitionMetadata> |
RegistryMap.removeAndPutAll(Collection<DefinitionMetadata> toRemove,
Collection<DefinitionProvider<T>> toPut) |
Set<DefinitionMetadata> |
Registry.unregisterAndRegister(Collection<DefinitionMetadata> toRemove,
Collection<DefinitionProvider<T>> toAdd) |
Set<DefinitionMetadata> |
AbstractRegistry.unregisterAndRegister(Collection<DefinitionMetadata> registeredIds,
Collection<DefinitionProvider<T>> providers) |
Constructor and Description |
---|
DefinitionProviderWrapper(DefinitionProvider<T> delegate) |
Modifier and Type | Method and Description |
---|---|
DefinitionProvider<T> |
DefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
DefinitionProvider<T> |
CachingDefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefinitionDecorator.appliesTo(DefinitionProvider<T> definitionProvider) |
boolean |
CachingDefinitionDecorator.appliesTo(DefinitionProvider<T> definitionProvider) |
static <T> com.google.common.base.Predicate<DefinitionDecorator<T>> |
DefinitionDecorators.appliesTo(DefinitionProvider<T> definitionProvider) |
DefinitionProvider<T> |
DefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
DefinitionProvider<T> |
CachingDefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
Modifier and Type | Method and Description |
---|---|
Collection<DefinitionProvider.Problem> |
DefinitionValidator.validate(DefinitionProvider<T> provider) |
Modifier and Type | Class and Description |
---|---|
class |
DefinitionProviderWrapperWithProxyFallback<T>
Encourages
DefinitionProviderWrapperWithProxyFallback.get() method implementation in such a way that it's result uses a 'decorated super-result' as a
safety net for unsuccessful method calls. |
class |
MapBasedDefinitionProviderWrapper<T>
definition provider wrapper which constructs a new version of a provided bean from a Map . |
Constructor and Description |
---|
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate)
Deprecated.
|
DefinitionProviderWrapperWithProxyFallback(DefinitionProvider<T> delegate,
T fallbackDefinition) |
MapBasedDefinitionProviderWrapper(DefinitionProvider<T> definitionProvider,
Map2BeanTransformer map2BeanTransformer,
Map<String,Object> mapRepresentation) |
Modifier and Type | Method and Description |
---|---|
protected DefinitionProvider<T> |
JcrConfigurationSource.newProvider(javax.jcr.Node configNode) |
Modifier and Type | Method and Description |
---|---|
protected void |
JcrConfigurationSource.collectProvidersFor(List<DefinitionProvider<T>> providers,
javax.jcr.Node node) |
Modifier and Type | Class and Description |
---|---|
class |
YamlDefinitionProvider<T>
Dynamic
DefinitionProvider implementation which wraps a YAML resource and tracks its dependencies. |
Modifier and Type | Method and Description |
---|---|
protected DefinitionProvider<T> |
YamlDefinitionProvider.getDelegate() |
Modifier and Type | Method and Description |
---|---|
DefinitionProvider<T> |
YamlDefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
Modifier and Type | Method and Description |
---|---|
boolean |
YamlDefinitionDecorator.appliesTo(DefinitionProvider<T> definitionProvider) |
DefinitionProvider<T> |
YamlDefinitionDecorator.decorate(DefinitionProvider<T> definitionProvider) |
Modifier and Type | Method and Description |
---|---|
DefinitionProvider<?> |
DefinitionDependency.resolveDefinitionProvider() |
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.