|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jini.entry.AbstractEntry
org.rioproject.event.EventDescriptor
public class EventDescriptor
The EventDescriptor describes an event that an EventProducer will advertise as part of it's attribute set in a Jini Lookup Service.
| Field Summary | |
|---|---|
Class |
eventClass
The event classes Class that this EventDescriptor describes |
Long |
eventID
The event class event identifier. |
| Constructor Summary | |
|---|---|
EventDescriptor()
Construct an EventDescriptor with attributes set to null |
|
EventDescriptor(Class eventClass,
Long eventID)
Construct an EventDescriptor with a class and long event ID. |
|
| Method Summary | |
|---|---|
boolean |
matches(EventDescriptor template)
Determine whether the provided EventDescriptor matches properties of this EventDescriptor |
String |
toString()
Produce a String representation of an EventDescriptor |
| Methods inherited from class net.jini.entry.AbstractEntry |
|---|
equals, equals, hashCode, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Class eventClass
public Long eventID
| Constructor Detail |
|---|
public EventDescriptor()
public EventDescriptor(Class eventClass,
Long eventID)
eventClass - The event class the descriptor describeseventID - The identifier for the event| Method Detail |
|---|
public boolean matches(EventDescriptor template)
template - The EventDescriptor template to match
eventID and
eventClass are null, return true.
eventID is
null, and the eventClass property is not
null, return whether the provided EventDescriptor property
eventClass is equal to the eventClass property
eventID property is null,
return false.
eventID property is not null, and the
provided EventDescriptor eventID property is not
null, return whether the provided EventDescriptor property
eventID is equal to the eventID property
NullPointerException - if the the provided EventDescriptor is
nullpublic String toString()
toString in class AbstractEntry
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||