org.nuxeo.ecm.core.event.impl
Class UnboundEventContext
java.lang.Object
org.nuxeo.ecm.core.event.impl.AbstractEventContext
org.nuxeo.ecm.core.event.impl.EventContextImpl
org.nuxeo.ecm.core.event.impl.UnboundEventContext
- All Implemented Interfaces:
- Serializable, EventContext
public class UnboundEventContext
- extends EventContextImpl
Minimal eventContext implementation that can be
used for events that are not bound to a CoreSession.
- Author:
- Thierry Delprat
- See Also:
- Serialized Form
Method Summary |
Event |
newEvent(String name)
Creates a new event in that context given the event name. |
UnboundEventContext
public UnboundEventContext(Principal principal,
Map<String,Serializable> properties)
UnboundEventContext
public UnboundEventContext(CoreSession session,
Principal principal,
Map<String,Serializable> properties)
newEvent
public Event newEvent(String name)
- Description copied from interface:
EventContext
- Creates a new event in that context given the event name. The default
flags for the event will be used.
- Specified by:
newEvent
in interface EventContext
- Overrides:
newEvent
in class AbstractEventContext
- Parameters:
name
- the event name
- Returns:
- the event
- See Also:
EventContext.newEvent(String, int)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.