|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.aries.jmx.blueprint.codec.OSGiBlueprintEvent
public class OSGiBlueprintEvent
This class represents the CODEC for the composite data representing a OSGi BlueprintEvent
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:
| bundleId | long |
| extenderBundleId | long |
| eventType | int |
| replay | boolean |
| timestamp | long |
| dependencies | String[] |
| exceptionMessage | String |
| Constructor Summary | |
|---|---|
OSGiBlueprintEvent(org.osgi.service.blueprint.container.BlueprintEvent event)
Construct an OSGiBlueprintEvent from the supplied BlueprintEvent |
|
OSGiBlueprintEvent(CompositeData data)
Construct an OSGiBlueprintEvent from the CompositeData representing the event |
|
OSGiBlueprintEvent(long bundleId,
long extenderBundleId,
int eventType,
boolean replay,
long timestamp,
String[] dependencies,
String exceptionMessage)
Construct the OSGiBlueprintEvent |
|
| Method Summary | |
|---|---|
CompositeData |
asCompositeData()
Answer the receiver encoded as CompositeData |
long |
getBundleId()
|
String[] |
getDependencies()
|
int |
getEventType()
|
String |
getExceptionMessage()
|
long |
getExtenderBundleId()
|
long |
getTimestamp()
|
boolean |
isReplay()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiBlueprintEvent(org.osgi.service.blueprint.container.BlueprintEvent event)
event - - the event to representpublic OSGiBlueprintEvent(CompositeData data)
data - - the CompositeData representing the event.
public OSGiBlueprintEvent(long bundleId,
long extenderBundleId,
int eventType,
boolean replay,
long timestamp,
String[] dependencies,
String exceptionMessage)
bundleId - extenderBundleId - eventType - replay - timestamp - dependencies - exceptionMessage - | Method Detail |
|---|
public CompositeData asCompositeData()
asCompositeData in interface TransferObjectpublic long getBundleId()
public long getExtenderBundleId()
public int getEventType()
public boolean isReplay()
public long getTimestamp()
public String[] getDependencies()
public String getExceptionMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||