Chemistry
  1. Chemistry
  2. CMIS-418

add bundle activation policy for OpenCMIS OSGi bundles

    Details

      Description

      Add bundle activation policy (lazy) to the generated OSGi MANIFEST files for opencmis-client and opencmis-server bundle. This ensures that bundles are activated upon the first successful request to load a class from the bundles. Using this activation policy, the framework can be started with as few active bundles as possible.

        Activity

        Hide
        Florian Müller added a comment -

        Applied. Thanks!

        Show
        Florian Müller added a comment - Applied. Thanks!
        Hide
        Juergen Schneider added a comment -

        Index: chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml
        ===================================================================
        — chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml (revision 1158212)
        +++ chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml (working copy)
        @@ -63,6 +63,7 @@
        </_exportcontents>
        <Embed-Directory>lib</Embed-Directory>
        <Bundle-DocURL>$

        {project.url}</Bundle-DocURL>
        + <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
        </instructions>
        </configuration>
        </plugin>
        Index: chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml
        ===================================================================
        — chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml (revision 1158212)
        +++ chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml (working copy)
        @@ -61,6 +61,7 @@
        </_exportcontents>
        <Bundle-DocURL>${project.url}

        </Bundle-DocURL>
        <Bundle-Activator>org.apache.chemistry.opencmis.client.osgi.Activator</Bundle-Activator>
        + <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
        </instructions>
        </configuration>
        </plugin>

        Show
        Juergen Schneider added a comment - Index: chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml =================================================================== — chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml (revision 1158212) +++ chemistry-opencmis-osgi/chemistry-opencmis-osgi-server/pom.xml (working copy) @@ -63,6 +63,7 @@ </_exportcontents> <Embed-Directory>lib</Embed-Directory> <Bundle-DocURL>$ {project.url}</Bundle-DocURL> + <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> </instructions> </configuration> </plugin> Index: chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml =================================================================== — chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml (revision 1158212) +++ chemistry-opencmis-osgi/chemistry-opencmis-osgi-client/pom.xml (working copy) @@ -61,6 +61,7 @@ </_exportcontents> <Bundle-DocURL>${project.url} </Bundle-DocURL> <Bundle-Activator>org.apache.chemistry.opencmis.client.osgi.Activator</Bundle-Activator> + <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy> </instructions> </configuration> </plugin>

          People

          • Assignee:
            Florian Müller
            Reporter:
            Juergen Schneider
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development