public interface LifecycleAware
onStart() will be invoked:
LifecycleAware as a declared
interface. For transformerless plugins using the atlassian spring scanner, this can be done using the ExportAsService
annotation. For transformed plugins, use a <component> with a public="true" attribute and an
<interface>com.atlassian.sal.api.lifecycle.LifecycleAware</interface> child element. For example:
<component key="my-cool-component" class="com.atlassian.stash.MyCoolComponent" public="true">
<interface>com.atlassian.sal.api.lifecycle.LifecycleAware</interface>
</component>
| Modifier and Type | Method and Description |
|---|---|
void |
onStart()
Notification that the plugin is enabled and the application is started, including after being restored from backup.
|
Copyright © 2015 Atlassian. All rights reserved.