watracelistener.jar
Description
provides a simple WireAdminListener service to trace WireAdminEvents.
For more details on how to use this bundle, refer to the /doc/readme.html file embedded in the bundle jarfile.
Contributors
License
Library GNU Public License
Services
- org.osgi.service.wireadmin.WireAdminListener
- fr.imag.adele.bundle.watracelistener.ConfigMBean
Properties
- wireadmin.events=[a mask of bits]
- 16.15.8.1 public static final int CONSUMER_EXCEPTION = 2
- 16.15.8.2 public static final int PRODUCER_EXCEPTION = 1
- 16.15.8.3 public static final int WIRE_CONNECTED = 32
- 16.15.8.4 public static final int WIRE_CREATED = 4
- 16.15.8.5 public static final int WIRE_DELETED = 16
- 16.15.8.6 public static final int WIRE_DISCONNECTED = 64
- 16.15.8.7 public static final int WIRE_TRACE = 128
- 16.15.8.8 public static final int WIRE_UPDATED = 8
- ALL=256
Requirements
org.osgi.service.wireadmin; specification-version=1.0
org.ungoverned.gravity.servicebinder;specification-version=1.1
Download
Build
- configure the common.properties if necessary
- configure the project.properties if necessary
- build with ant
Settings
initialstate.properties
Run the demo
To run the demo of this bundle, enter the following commands in the OSCAR shell
obr -s WireAdminTraceListener Bundle
start http://www-adele.imag.fr/~donsez/dev/osgi/watracelistener/watracelistener.jar
Tested gateways
TODO (contributions are welcome)
Links