Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.event.impl
Class ShallowEvent

java.lang.Object
  extended by org.nuxeo.ecm.core.event.impl.EventImpl
      extended by org.nuxeo.ecm.core.event.impl.ShallowEvent
All Implemented Interfaces:
Serializable, Event

public class ShallowEvent
extends EventImpl

Light Event implementation. Used to reduce memory footprint of Event stacked in EventBundle.

Author:
Thierry Delprat
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.nuxeo.ecm.core.event.Event
FLAG_CANCEL, FLAG_COMMIT, FLAG_IMMEDIATE, FLAG_INLINE, FLAG_LOCAL, FLAG_NONE, FLAG_ROLLBACK
 
Constructor Summary
ShallowEvent(String name, EventContext ctx, int flags, long creationTime)
           
 
Method Summary
static ShallowEvent create(Event event)
           
 
Methods inherited from class org.nuxeo.ecm.core.event.impl.EventImpl
cancel, getContext, getFlags, getName, getTime, isCanceled, isCommitEvent, isImmediate, isInline, isLocal, isMarkedForRollBack, isPublic, markRollBack, setImmediate, setInline, setIsCommitEvent, setLocal, setPublic
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShallowEvent

public ShallowEvent(String name,
                    EventContext ctx,
                    int flags,
                    long creationTime)
Method Detail

create

public static ShallowEvent create(Event event)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.