com.atlassian.confluence.event.events.admin
Class ConfluenceReadyEvent
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
- All Implemented Interfaces:
- Serializable
Deprecated. since 4.0 use DatabaseConfiguredEvent
, UpgradeFinishedEvent
, or
PluginFrameworkStartedEvent
instead
@Deprecated
public class ConfluenceReadyEvent
- extends ConfluenceEvent
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 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
.
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
ConfluenceReadyEvent
@Deprecated
public ConfluenceReadyEvent(Object src)
- Deprecated. since 4.0
Copyright © 2003-2013 Atlassian. All Rights Reserved.