TimestampedService
interface in case they should not
need to be reloaded when event is received.@Deprecated public class ReloadableComponent extends DefaultComponent implements Reloadable
Constructor and Description |
---|
ReloadableComponent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Extension> |
getExtensions()
Deprecated.
|
void |
registerExtension(Extension extension)
Deprecated.
Registers the given extension.
|
void |
reload(ComponentContext context)
Deprecated.
Reload the component registries and services.
|
void |
unregisterExtension(Extension extension)
Deprecated.
Unregisters the given extension.
|
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, setLastModified, unregisterContribution
public void registerExtension(Extension extension) throws Exception
Extensible
registerExtension
in interface Extensible
registerExtension
in class DefaultComponent
extension
- the extension to registerException
- if any error occurspublic void unregisterExtension(Extension extension) throws Exception
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterException
- if any error occurspublic void reload(ComponentContext context) throws Exception
Reloadable
reload
in interface Reloadable
Exception
Copyright © 2014 Nuxeo SA. All rights reserved.