You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Thomas Diesler (JIRA)" <ji...@apache.org> on 2009/07/10 17:13:14 UTC

[jira] Created: (FELIX-1317) Added support for Bundle.START_ACTIVATION_POLICY on start

Added support for Bundle.START_ACTIVATION_POLICY  on start
----------------------------------------------------------

                 Key: FELIX-1317
                 URL: https://issues.apache.org/jira/browse/FELIX-1317
             Project: Felix
          Issue Type: New Feature
          Components: Framework
    Affects Versions: felix-1.8.1
            Reporter: Thomas Diesler


It seems that Bundle.start(int) with START_ACTIVATION_POLICY is not supported

http://www.osgi.org/javadoc/r4v41/org/osgi/framework/Bundle.html#start(int)

In Felix-1.8.1 I see 

    public void start(int options) throws BundleException
    {
        if ((options & Bundle.START_ACTIVATION_POLICY) > 0)
        {
            throw new UnsupportedOperationException(
                "The activation policy feature has not yet been implemented.");
        }

   ....
}


Is there a way to still work with Bundle-ActivationPolicy: lazy ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-1317) Added support for Bundle.START_ACTIVATION_POLICY on start

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall closed FELIX-1317.
----------------------------------

    Resolution: Duplicate

This is a duplicate of FELIX-749 and is committed in trunk.

> Added support for Bundle.START_ACTIVATION_POLICY  on start
> ----------------------------------------------------------
>
>                 Key: FELIX-1317
>                 URL: https://issues.apache.org/jira/browse/FELIX-1317
>             Project: Felix
>          Issue Type: New Feature
>          Components: Framework
>    Affects Versions: felix-1.8.1
>            Reporter: Thomas Diesler
>
> It seems that Bundle.start(int) with START_ACTIVATION_POLICY is not supported
> http://www.osgi.org/javadoc/r4v41/org/osgi/framework/Bundle.html#start(int)
> In Felix-1.8.1 I see 
>     public void start(int options) throws BundleException
>     {
>         if ((options & Bundle.START_ACTIVATION_POLICY) > 0)
>         {
>             throw new UnsupportedOperationException(
>                 "The activation policy feature has not yet been implemented.");
>         }
>    ....
> }
> Is there a way to still work with Bundle-ActivationPolicy: lazy ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.