|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleAware
Marker interface that indicates a component wishes to execute some code after application startup. onStart()
will be invoked:
Note: for this to work a component must be exposed as an OSGi service with LifecycleAware as
a declared interface. The plugin system will do this for you automatically if you add a public="true"
attribute and <interface>com.atlassian.sal.api.lifecycle.LifecycleAware</interface> child element to your
<component> definition. For example:
<component key="my-cool-component" class="com.atlassian.stash.MyCoolComponent" public="true">
<interface>com.atlassian.sal.api.lifecycle.LifecycleAware</interface>
</component>
| Method Summary | |
|---|---|
void |
onStart()
Called when the application has started or has been restored from backup |
| Method Detail |
|---|
void onStart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||