com.liferay.faces.util.event
Class PostConstructApplicationConfigEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.faces.event.SystemEvent
          extended by com.liferay.faces.util.event.PostConstructApplicationConfigEvent
All Implemented Interfaces:
Serializable

public class PostConstructApplicationConfigEvent
extends javax.faces.event.SystemEvent

This event is published after all application configuration resources have been scanned, parsed, and processed at startup. This provides the ability for listeners to safely call FactoryExtensionFinder.getFactory(Class) or to get the application configuration by calling getApplicationConfig().

Author:
Neil Griffin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PostConstructApplicationConfigEvent(ApplicationConfig applicationConfig)
           
 
Method Summary
 ApplicationConfig getApplicationConfig()
          Returns the source ApplicationConfig that sent this event.
 
Methods inherited from class javax.faces.event.SystemEvent
isAppropriateListener, processListener
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostConstructApplicationConfigEvent

public PostConstructApplicationConfigEvent(ApplicationConfig applicationConfig)
Method Detail

getApplicationConfig

public ApplicationConfig getApplicationConfig()
Returns the source ApplicationConfig that sent this event.



Copyright © 2015 Liferay, Inc.. All rights reserved.