public class RegistrationSet
extends java.lang.Object
Registrations
that were created by one call to a register...()
method on the EventRegistry interface. This may happen when a client registers with multiple OR-connected filters. They are
mapped to multiple registrations internally. In order to distinguish between one registration using OR-connected filters and
several registrations, the resulting Registration objects are being pooled in the first case.Constructor and Description |
---|
RegistrationSet(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> listener,
ListenerTypeEnum listenerType,
java.util.Collection<org.eclipse.ocl.examples.eventmanager.framework.Registration> registrations)
Adds this
RegistrationSet to all registrations ' using
Registration.addRegistrationSet(RegistrationSet) |
Modifier and Type | Method and Description |
---|---|
ListenerTypeEnum |
getListenerType()
The return value defines the type of the Listener
|
public RegistrationSet(java.lang.ref.WeakReference<? extends org.eclipse.emf.common.notify.Adapter> listener, ListenerTypeEnum listenerType, java.util.Collection<org.eclipse.ocl.examples.eventmanager.framework.Registration> registrations)
RegistrationSet
to all registrations
' using
Registration.addRegistrationSet(RegistrationSet)
public ListenerTypeEnum getListenerType()
ListenerTypeEnum