Interface | Description |
---|---|
DefinitionMetadata |
Use a DefinitionMetadata type {name, type, moduleID, location}, with an asString() method that outputs the current format.
|
DefinitionProvider<T> |
This is NOT called Provider to avoid confusion with javax.inject.Provider; however, keep in mind that some objects
provided by these and registries are not necessarily "just" definition, they might be "live" objects (Renderer is an example).
|
DefinitionRawView |
This is a read-only view on the "raw" data of a configured definition.
|
DefinitionType |
Implement this in an enum to add more definition types.
|
Registry<T> |
An instance of a registry is responsible for one particular
DefinitionType ;
these definition can come from various sources. |
RegistryFacade |
Central interface for registries; provides views on known
Registry instances,
and is able to query them by module, type or source. |
Class | Description |
---|---|
AbstractRegistry<T> |
Abstract
Registry base class holding a map of all objects of the defined type. |
DefinitionMetadataBuilder |
DefinitionMetadataBuilder are used to progressively populate metadata for a
DefinitionProvider . |
DefinitionMetadataBuilder.DefinitionMetadataImpl |
Implementation of
DefinitionMetadata . |
DefinitionProviderBuilder<T> |
A builder that allows to construct a
DefinitionProvider s progressively,
without nesting try/catch blocks. |
DefinitionProviderWrapper<T> |
Abstract implementation for wrappers of
DefinitionProvider . |
DefinitionQuery<T> |
DefinitionQuery aggregates metadata search criteria allowing for specifying
it in a builder-pattern fashion.
|
DefinitionRawView.Property |
Property definition for the raw view.
|
RegistryFacadeImpl |
Implementation of the
RegistryFacade . |
RegistryMap<T> |
Thread safe map intended to be used for registries.
|
Enum | Description |
---|---|
DefinitionRawView.Kind |
Kinds of raw view types.
|
Exception | Description |
---|---|
RegistrationException | Deprecated
this is a temporary copy from info.magnolia.registry (magnolia-core);
|
Registry.InvalidDefinitionException |
Thrown by a registry when the underlying bean is not successfully resolved, not valid, or not enabled.
|
Registry.NoSuchDefinitionException |
Thrown by a registry when it doesn't hold an entity that is asked for.
|
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.