[jboss-jira] [JBoss JIRA] Created: (JBAS-9325) Update OSGi Framework to use MSC services for plugins and bundles

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Apr 14 15:56:33 EDT 2011


Update OSGi Framework to use MSC services for plugins and bundles
-----------------------------------------------------------------

                 Key: JBAS-9325
                 URL: https://issues.jboss.org/browse/JBAS-9325
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: 7.0.0.Beta3


Major service based rearchitecture of the framework

    - Migrate all Plugins to Services
    - Migrate framework and user bundles to services

    There is a three layer approach to bundles/framework

    BundleState represents the internal state of a bundle. A client never holds a direct reference to a BundleState.
    Various BundleServices represent the lifecycle states of the bundle. BundleServices operate on BundleStates.
    The client is given a BundleProxy which interacts with the BundleService.

    The integration with AS7 is designed to be based on services. AS services may create dependencies on well
    defined Framework state services. Although UserBundles are currently also modelled as services, only the
    INSTALLED state is available as a service and may be used as a dependency. Later, we can create additional
    services that represent the RESOLVED, ACTIVE state of a bundle.

Currently there may still be failures in the umbrella projects and some TCK regression. Hopefully I can address these over the next couple of days.

This is a big step towards more parallel code paths with well defined dependency points and much better AS7 integration.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list