Rio Project 4.2 API Documentation



org.rioproject.log
Class ServiceLogEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.jini.core.event.RemoteEvent
          extended by org.rioproject.event.RemoteServiceEvent
              extended by org.rioproject.log.ServiceLogEvent
All Implemented Interfaces:
Serializable

public class ServiceLogEvent
extends RemoteServiceEvent
implements Serializable

A remote event of a service's log record, typically indicating an exception of interest has been thrown.

See Also:
Serialized Form

Field Summary
static long ID
           
 
Fields inherited from class org.rioproject.event.RemoteServiceEvent
date
 
Fields inherited from class net.jini.core.event.RemoteEvent
eventID, handback, seqNum, source
 
Constructor Summary
ServiceLogEvent(Object source, LogRecord logRecord)
          Create a new ServiceLogEvent
ServiceLogEvent(Object source, LogRecord logRecord, String opStringName, String serviceName, InetAddress address)
           
 
Method Summary
 InetAddress getAddress()
           
static EventDescriptor getEventDescriptor()
          Helper method to return the EventDescriptor for this event
 LogRecord getLogRecord()
           
 String getOpStringName()
           
 String getServiceName()
           
 
Methods inherited from class org.rioproject.event.RemoteServiceEvent
getDate, setEventID, setHandback, setSequenceNumber
 
Methods inherited from class net.jini.core.event.RemoteEvent
getID, getRegistrationObject, getSequenceNumber
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final long ID
See Also:
Constant Field Values
Constructor Detail

ServiceLogEvent

public ServiceLogEvent(Object source,
                       LogRecord logRecord)
Create a new ServiceLogEvent

Parameters:
source - event source
logRecord - the

ServiceLogEvent

public ServiceLogEvent(Object source,
                       LogRecord logRecord,
                       String opStringName,
                       String serviceName,
                       InetAddress address)
Method Detail

getOpStringName

public String getOpStringName()

getServiceName

public String getServiceName()

getAddress

public InetAddress getAddress()

getLogRecord

public LogRecord getLogRecord()

getEventDescriptor

public static EventDescriptor getEventDescriptor()
Helper method to return the EventDescriptor for this event

Returns:
The EventDescriptor for this event

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.