Package | Description |
---|---|
info.magnolia.config.registry | |
info.magnolia.config.source.jcr | |
info.magnolia.rendering.template.registry |
Modifier and Type | Class and Description |
---|---|
class |
DefinitionProviderWrapper<T>
Abstract implementation for wrappers of
DefinitionProvider . |
Modifier and Type | Method and Description |
---|---|
DefinitionProvider<T> |
DefinitionProviderBuilder.build() |
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> |
DefinitionProviderWrapper.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)
This default implementation wraps the given provider when the definition is a
NamedDefinition ; in such cases,
the definition is proxied and its getName() method is intercepted and redirected to DefinitionMetadata.getName() . |
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 DefinitionMetadata |
RegistryMap.keyFromValue(DefinitionProvider<T> provider) |
protected DefinitionProvider<T> |
AbstractRegistry.onRegister(DefinitionProvider<T> provider)
This default implementation wraps the given provider when the definition is a
NamedDefinition ; in such cases,
the definition is proxied and its getName() method is intercepted and redirected to DefinitionMetadata.getName() . |
DefinitionMetadata |
RegistryMap.put(DefinitionProvider<T> value) |
void |
Registry.register(DefinitionProvider<T> definitionProvider) |
void |
AbstractRegistry.register(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 |
---|---|
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 | Method and Description |
---|---|
protected DefinitionProvider<TemplateDefinition> |
TemplateDefinitionRegistry.onRegister(DefinitionProvider<TemplateDefinition> provider) |
Modifier and Type | Method and Description |
---|---|
protected DefinitionProvider<TemplateDefinition> |
TemplateDefinitionRegistry.onRegister(DefinitionProvider<TemplateDefinition> provider) |
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.