@Singleton public class RendererRegistry extends AbstractRegistry<Renderer>
Registry.InvalidDefinitionException, Registry.NoSuchDefinitionException
Constructor and Description |
---|
RendererRegistry() |
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() |
getAllDefinitions, getAllMetadata, getAllProviders, getProvider, getProvider, getRegistryMap, onRegister, query, register, start, unregisterAndRegister
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–2015 Magnolia International Ltd.. All rights reserved.