Package com.attivio.sdk.server.component.lifecycle

Annotations used to indicate that a component wishes to be notified of certain AIE lifecyle events.

AIE lifecycle for components

Phase / InterfaceDescription
AIE startup / Dynamic Change requested AIE configuration files are parsed if initial startup, a configuration model is built and features make changes to the configuration based on the local node.
A component is created Depending on the configuration of the component and any annotations present on the component, one or more instances of each component referenced in a workflow is created. Each component should have a default/no-arg constructor that will be called at this time
Each component instance is configured All of the setters are called on your component based on the component's configuration
Startable After each component is configured, the Startable.startComponent() method is called on each instance if implemented by the class.
AfterAllLocalInstancesStarted After all components are configured and started, the AfterAllLocalInstancesStarted.afterAllLocalInstancesStarted() method is called on all instances if implemented by the class.
AfterLocalNodeStartup After all components in all workflows have been started, the AfterLocalNodeStartup.afterLocalNodeStartup() method is called on all instances if implemented by the class.
Stoppable If AIE is shutdown or a dynamic change is requested that requires removing the component from a workflow, the Stoppable.stopComponent() method is called on all instances if implemented by the class.