public interface Component extends Extensible
Components are extensible and adaptable objects and they provide methods to respond to component life cycle events.
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo
bundles.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
registerExtension, unregisterExtensionvoid activate(ComponentContext context) throws Exception
This method is called by the runtime when a component is activated.
context - the runtime contextException - if an error occurs during activationvoid deactivate(ComponentContext context) throws Exception
This method is called by the runtime when a component is deactivated.
context - the runtime contextException - if an error occurs during activationvoid applicationStarted(ComponentContext context) throws Exception
ExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.