com.atlassian.confluence.event.events.admin
Class ConfluenceReadyEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by com.atlassian.event.Event
              extended by com.atlassian.confluence.event.events.ConfluenceEvent
                  extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConfluenceReadyEvent(Object src)
          Deprecated. since 4.0
 
Method Summary
 
Methods inherited from class com.atlassian.event.Event
equals, hashCode
 
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfluenceReadyEvent

@Deprecated
public ConfluenceReadyEvent(Object src)
Deprecated. since 4.0



Copyright © 2003–2015 Atlassian. All rights reserved.