TimestampedService
interface in case they should not need to be reloaded when event
is received.@Deprecated public class ReloadableComponent extends DefaultComponent implements Reloadable
Modifier and Type | Field and Description |
---|---|
protected List<Extension> |
extensions
Deprecated.
|
lastModified
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, setModifiedNow, unregisterContribution
protected List<Extension> extensions
public ReloadableComponent()
public void registerExtension(Extension extension)
Extensible
registerExtension
in interface Extensible
registerExtension
in class DefaultComponent
extension
- the extension to registerpublic void unregisterExtension(Extension extension)
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterpublic void reload(ComponentContext context)
Reloadable
reload
in interface Reloadable
public List<Extension> getExtensions()
Copyright © 2015 Nuxeo SA. All rights reserved.