Class ServerEventCollection

  • All Implemented Interfaces:
    Serializable, Remote, RemoteEventCollection

    @Deprecated(forRemoval=true)
    public class ServerEventCollection
    extends ServerObject
    implements RemoteEventCollection
    Deprecated, for removal: This API element is subject to removal in a future version.
    RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.

    The ServerEventCollection class implements the RemoteEventCollectionevent to actually sent the server-side event to the client.

    This class does not directly relate to any JCR class because beside the list of events the unique identifier of the client-side listener has to be provided such that the receiving listener may be identified on the client-side.

    See Also:
    Serialized Form
    • Method Detail

      • getListenerId

        public long getListenerId()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Returns unique identifier of the client-side listener to which the enclosed events should be sent.
        Specified by:
        getListenerId in interface RemoteEventCollection
        Returns:
        unique listener identifier