info.magnolia.ui.framework.app
Class AppLifecycleEvent

java.lang.Object
  extended by info.magnolia.ui.framework.app.AppLifecycleEvent
All Implemented Interfaces:
Event<AppLifecycleEventHandler>

public class AppLifecycleEvent
extends Object
implements Event<AppLifecycleEventHandler>

Event fired when the lifecycle of an app changes.

See Also:
AppLifecycleEventHandler

Constructor Summary
AppLifecycleEvent(AppDescriptor app, AppLifecycleEventType eventType)
           
 
Method Summary
 void dispatch(AppLifecycleEventHandler handler)
          Dispatches the event to a handler.
 AppDescriptor getAppDescriptor()
           
 AppLifecycleEventType getEventType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppLifecycleEvent

public AppLifecycleEvent(AppDescriptor app,
                         AppLifecycleEventType eventType)
Method Detail

getAppDescriptor

public AppDescriptor getAppDescriptor()

getEventType

public AppLifecycleEventType getEventType()

dispatch

public void dispatch(AppLifecycleEventHandler handler)
Description copied from interface: Event
Dispatches the event to a handler.

Specified by:
dispatch in interface Event<AppLifecycleEventHandler>


Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.