@Singleton public class RendererRegistry extends AbstractRegistry<Renderer>
Registry.InvalidDefinitionException, Registry.NoSuchDefinitionException
Constructor and Description |
---|
RendererRegistry()
Deprecated.
since 5.4.6 - use
RendererRegistry(ModuleRegistry) instead. |
RendererRegistry(ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
List<Class<RenderingListener>> |
getListeners()
Deprecated.
since 5.4. Listeners are now instantiated under (/server/rendering/engine/listeners)
|
Renderer |
getRenderer(String type) |
DefinitionMetadataBuilder |
newMetadataBuilder()
Implementations of
DefinitionMetadataBuilder determine how referenceId strings for this registry are generated. |
void |
register(RendererProvider provider)
Deprecated.
since 5.4
|
void |
registerListener(String listenerClassName)
Deprecated.
since 5.4. Listeners are now instantiated under (/server/rendering/engine/listeners)
|
DefinitionType |
type() |
addDecorator, getAllDefinitions, getAllMetadata, getAllProviders, getDecoratedDefinitionProvider, getProvider, getProvider, getReferenceId, getRegistryMap, onRegister, query, register, removeDecorator, start, unregisterAndRegister
@Inject public RendererRegistry(ModuleRegistry moduleRegistry)
@Deprecated public RendererRegistry()
RendererRegistry(ModuleRegistry)
instead.public DefinitionType type()
public DefinitionMetadataBuilder newMetadataBuilder()
Registry
DefinitionMetadataBuilder
determine how referenceId strings for this registry are generated.public Renderer getRenderer(String type) throws RegistrationException
RegistrationException
public void register(RendererProvider provider)
public void registerListener(String listenerClassName)
public List<Class<RenderingListener>> getListeners()
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.