org.exoplatform.social.common.lifecycle
Class LifeCycleEvent<S,P>

java.lang.Object
  extended by org.exoplatform.social.common.lifecycle.LifeCycleEvent<S,P>

public class LifeCycleEvent<S,P>
extends Object

An event fired at different stages of the lifecycle

Version:
$Revision$
Author:
Patrice Lamarque
See Also:
LifeCycleListener}

Field Summary
protected  P payload
          space where the event occurs
protected  S source
          source of the event.
 
Constructor Summary
LifeCycleEvent(S source, P payload)
           
 
Method Summary
 P getPayload()
           
 S getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

payload

protected P payload
space where the event occurs


source

protected S source
source of the event.

Constructor Detail

LifeCycleEvent

public LifeCycleEvent(S source,
                      P payload)
Method Detail

getPayload

public P getPayload()

getSource

public S getSource()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.