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 public class ServerEventCollection extends ServerObject implements RemoteEventCollection
Deprecated.RMI support is deprecated and will be removed in a future version of Jackrabbit; see Jira ticket JCR-4972 for more information.The
ServerEventCollectionclass implements theRemoteEventCollectionevent 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 classServerEventCollection.ServerEventDeprecated.Server side implementation of theRemoteEventCollection.RemoteEventinterface.-
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.Returns the list of events to be sent to the client-side listener identified byRemoteEventCollection.getListenerId().longgetListenerId()Deprecated.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, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Method Detail
-
getListenerId
public long getListenerId()
Deprecated.Returns unique identifier of the client-side listener to which the enclosed events should be sent.- Specified by:
getListenerIdin interfaceRemoteEventCollection- Returns:
- unique listener identifier
-
getEvents
public RemoteEventCollection.RemoteEvent[] getEvents()
Deprecated.Returns the list of events to be sent to the client-side listener identified byRemoteEventCollection.getListenerId().- Specified by:
getEventsin interfaceRemoteEventCollection- Returns:
- list of events
-
-