Modifier and Type | Field and Description |
---|---|
protected static java.util.Dictionary<java.lang.Object,java.lang.Object> |
EMPTY_PROPERTIES |
Constructor and Description |
---|
Event(java.lang.Object event) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Release the resources this event is holding (like service reference for example).
|
int |
compareTo(Event o) |
boolean |
equals(java.lang.Object obj) |
<T> T |
getEvent()
Returns the actual event object wrapped by this event (a Service Dependency, a Bundle for Bundle Dependency, etc...).
|
<K,V> java.util.Dictionary<K,V> |
getProperties()
Returns the properties of the actual event object wrapped by this event (Service Dependency properties, ...).
|
int |
hashCode() |
protected static final java.util.Dictionary<java.lang.Object,java.lang.Object> EMPTY_PROPERTIES
public <T> T getEvent()
public <K,V> java.util.Dictionary<K,V> getProperties()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int compareTo(Event o)
compareTo
in interface java.lang.Comparable<Event>
public void close()