@Deprecated public class

ConfluenceReadyEvent

extends ConfluenceEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ org.springframework.context.ApplicationEvent
       ↳ com.atlassian.event.Event
         ↳ com.atlassian.confluence.event.events.ConfluenceEvent
           ↳ com.atlassian.confluence.event.events.admin.ConfluenceReadyEvent

This class is deprecated.
since 4.0 use DatabaseConfiguredEvent, UpgradeFinishedEvent, or PluginFrameworkStartedEvent instead

Class Overview

This event is sent when the spring context has been started up, and the database is ready.

Deprecated. This event is deprecated because its semantics were unclear. Better options are discussed below. This event is no longer published by Confluence, but exists to maintain binary compatibility with plugins for a few releases.

If you are writing a plugin and want to get triggered when your plugin is initialised, you should implement org.springframework.beans.factory.InitializingBean InitializingBean in one of your components.

If you are writing a plugin and want to know when all the plugins have finished loading, you should listen for PluginFrameworkStartedEvent.

If you are writing core Confluence code, and want to know when the database has been configured during setup, you should listen for DatabaseConfiguredEvent.

If you are writing core Confluence code, and want to know when the upgrade system has finished running, you should listen for UpgradeFinishedEvent.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
@Deprecated ConfluenceReadyEvent(Object src)
This constructor is deprecated. since 4.0
[Expand]
Inherited Methods
From class com.atlassian.event.Event
From class org.springframework.context.ApplicationEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

@Deprecated public ConfluenceReadyEvent (Object src)

This constructor is deprecated.
since 4.0