@Singleton public class VirtualUriRegistry extends AbstractRegistry<VirtualUriMapping>
VirtualUriMappings
.Registry.InvalidDefinitionException, Registry.NoSuchDefinitionException
Constructor and Description |
---|
VirtualUriRegistry(ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
DefinitionProviderBuilder<VirtualUriMapping> |
newDefinitionProviderBuilder() |
DefinitionMetadataBuilder |
newMetadataBuilder()
Implementations of
DefinitionMetadataBuilder determine how referenceId strings for this registry are generated. |
DefinitionType |
type() |
addDecorator, addValidator, getAllDefinitions, getAllMetadata, getAllProviders, getDecoratedDefinitionProvider, getProvider, getProvider, getReferenceId, getRegistryMap, onRegister, query, register, removeDecorator, start, unregisterAndRegister, validate
@Inject public VirtualUriRegistry(ModuleRegistry moduleRegistry)
public DefinitionType type()
public DefinitionMetadataBuilder newMetadataBuilder()
Registry
DefinitionMetadataBuilder
determine how referenceId strings for this registry are generated.
FIXME since 5.4.6 historically this method exists so that specific Registry
implementation can provide its own strategy
of converting a DefinitionMetadata
to a string. With introduction of DefinitionReferenceIdResolver
interface metadata can
lose DefinitionMetadata.getReferenceId()
method and will not need a special per-registry metadata builder.public DefinitionProviderBuilder<VirtualUriMapping> newDefinitionProviderBuilder()
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.