|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osgi.jmx.codec.OSGiBundleEvent
public class OSGiBundleEvent
This class represents the CODEC for the composite data representing a OSGi BundleEvent
It serves as both the documentation of the type structure and as the codification of the mechanism to convert to/from the CompositeData.
The structure of the composite data is:
Identifier | long |
location | String |
SymbolicName | String |
EventType | int |
Field Summary | |
---|---|
static javax.management.openmbean.CompositeType |
BUNDLE_EVENT
The CompositeType representation of the event |
Constructor Summary | |
---|---|
OSGiBundleEvent(org.osgi.framework.BundleEvent event)
Construct an OSGiBundleEvent from the supplied |
|
OSGiBundleEvent(javax.management.openmbean.CompositeData data)
Construct an OSGiBundleEvent from the CompositeData representing the event |
|
OSGiBundleEvent(long bundleId,
java.lang.String location,
java.lang.String symbolicName,
int eventType)
Construct the OSGiBundleEvent |
Method Summary | |
---|---|
javax.management.openmbean.CompositeData |
asCompositeData()
Answer the receiver encoded as CompositeData |
long |
getBundleId()
|
int |
getEventType()
|
java.lang.String |
getLocation()
|
java.lang.String |
getSymbolicName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.management.openmbean.CompositeType BUNDLE_EVENT
Constructor Detail |
---|
public OSGiBundleEvent(org.osgi.framework.BundleEvent event)
event
- - the event to representpublic OSGiBundleEvent(javax.management.openmbean.CompositeData data)
data
- - the CompositeData representing the event.public OSGiBundleEvent(long bundleId, java.lang.String location, java.lang.String symbolicName, int eventType)
bundleId
- location
- symbolicName
- eventType
- Method Detail |
---|
public javax.management.openmbean.CompositeData asCompositeData()
public long getBundleId()
public int getEventType()
public java.lang.String getLocation()
public java.lang.String getSymbolicName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |