glassfish
  1. glassfish
  2. GLASSFISH-15264

Optionally import instead of always importing dynamically in bootstrap module

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1_b33
    • Fix Version/s: future release
    • Component/s: OSGi
    • Labels:
      None

      Description

      Apply the attached patch after 3.1 release:

      Index: core/bootstrap/osgi.bundle
      ===================================================================
      — core/bootstrap/osgi.bundle (revision 43924)
      +++ core/bootstrap/osgi.bundle (working copy)
      @@ -40,16 +40,16 @@

      Bundle-Activator: com.sun.enterprise.glassfish.bootstrap.GlassFishMainActivator

        1. Please note we don't everything that's required by every class in this module.
        2. We only import packages required by GlassFishMainActivator and its dependencies
          +# Please note we don't mandatorily import everything that's required by every class in this module.
          +# We only import mandatorily packages required by GlassFishMainActivator and its dependencies
      1. such as EmbeddedOSGiGlassFishRuntimeBuilder. The rest of the dependencies are
        1. pulled in dynamically via DynamicImport-Package. By doing this, we will be able
          +# pulled in via optional import or dynamically via DynamicImport-Package. By doing this, we will be able
      2. to install and start this bundle in a vanilla OSGi environment and then bootstrap
        1. rest of GlassFish bundles. Please contact Sahoo or Bhavani before you make any change in this
          +# rest of GlassFish bundles. Please contact Sahoo before you make any change in this
      3. bundle's manifest.
        Import-Package: \
      • org.glassfish.embeddable,
      • org.osgi.*
        + org.glassfish.embeddable, org.osgi.*, \
        + *; resolution:=optional

      DynamicImport-Package: *

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: