org.apache.jackrabbit.rmi.server
Class ServerEventCollection.ServerEvent

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by org.apache.jackrabbit.rmi.server.ServerObject
                  extended by org.apache.jackrabbit.rmi.server.ServerEventCollection.ServerEvent
All Implemented Interfaces:
Serializable, Remote, RemoteEventCollection.RemoteEvent
Enclosing class:
ServerEventCollection

public static class ServerEventCollection.ServerEvent
extends ServerObject
implements RemoteEventCollection.RemoteEvent

Server side implementation of the RemoteEvent interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Method Summary
 String getPath()
          Returns the absolute path of the underlying item.
 int getType()
          Returns the event type.
 String getUserID()
          Returns the userID of the session causing this event.
 
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
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getPath

public String getPath()
Returns the absolute path of the underlying item.

Specified by:
getPath in interface RemoteEventCollection.RemoteEvent
Returns:
item path

getType

public int getType()
Returns the event type.

Specified by:
getType in interface RemoteEventCollection.RemoteEvent
Returns:
event type

getUserID

public String getUserID()
Returns the userID of the session causing this event.

Specified by:
getUserID in interface RemoteEventCollection.RemoteEvent
Returns:
user identifier


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.