Package org.apache.jackrabbit.rmi.server
Class ServerEventCollection
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jackrabbit.rmi.server.ServerObject
-
- org.apache.jackrabbit.rmi.server.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 theRemoteEventCollection
event 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServerEventCollection.ServerEvent
Deprecated, for removal: This API element is subject to removal in a future version.Server side implementation of theRemoteEventCollection.RemoteEvent
interface.-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.rmi.remote.RemoteEventCollection
RemoteEventCollection.RemoteEvent
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RemoteEventCollection.RemoteEvent[]
getEvents()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of events to be sent to the client-side listener identified byRemoteEventCollection.getListenerId()
.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.-
Methods inherited from class org.apache.jackrabbit.rmi.server.ServerObject
getFactory, getRemoteItem, getRemoteNode, getRemoteNodeTypeArray, getRepositoryException, getSerialValue, getSerialValues
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
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 interfaceRemoteEventCollection
- Returns:
- unique listener identifier
-
getEvents
public RemoteEventCollection.RemoteEvent[] getEvents()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of events to be sent to the client-side listener identified byRemoteEventCollection.getListenerId()
.- Specified by:
getEvents
in interfaceRemoteEventCollection
- Returns:
- list of events
-
-