hellombeangen.jar

Description
provides a service with a generated MBean interface to (re)configure the internal state of the object.
This bundle illustrates the generation of a service foolowing the MBean pattern (for JMX4OSGi)
This MBean can be used for configuration and for state persistency.
The generation is based on XSLT stylesheet from this description generation/res/component.xml
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

Properties

Requirements

  • org.osgi.service.cm;specification-version="1.1"
  • fr.imag.adele.bundle.hello; specification-version="1.0"
  • org.ungoverned.gravity.servicebinder; specification-version="1.0"

  • Download

    Build

    1. configure the common.properties if necessary
    2. configure the project.properties if necessary
    3. configure the descriptor generation/res/bundle.xml
    4. cd generation
    5. ant
    6. cd ..
    7. ant

    Settings
    configure the descriptor generation/res/bundle.xml

    Run the demo
    To run the demo of this bundle, enter the following commands in the OSCAR shell

    start osgi.jar (this jar must download from the OSGi web site http://www.osgi.org/resources/spec_download.asp 
    obr -s Service Binder
    start http://www-adele.imag.fr/~donsez/dev/osgi/helloservice10/helloservice10.jar
    start http://www-adele.imag.fr/~donsez/dev/osgi/hellombean/hellombeangen.jar
    
    or or use this OSCAR shell script http://www-adele.imag.fr/~donsez/dev/osgi/script/mbeangen.txt

    Typical Usages

  • All
  • Tested gateways

    Versions history

    TODO (contributions are welcome)