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.
|
DefinitionReference |
Metadata of a common entry within a module, which can be referenced by
relative location in that module and a name.
|
DefinitionReferenceIdResolver |
Knows how to convert a
definition reference object into a string representation. |
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 |
---|---|
AbstractDefinitionProviderWrapper<T> |
Abstract implementation of
DefinitionProvider wrappers. |
AbstractRegistry<T> |
Abstract
Registry base class holding a map of all objects of the defined type. |
DefaultDefinitionReference |
Default
DefinitionReference implementation. |
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> |
Default implementation
DefinitionProvider wrapper implementation, wraps a concrete
DefinitionProvider and delegates to it. |
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.
|
RegistryTypeNameUtil |
Common utility for humanizing the
Registry name. |
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–2016 Magnolia International Ltd.. All rights reserved.