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 <th...@jboss.com> on 2010/03/25 21:19:10 UTC

Import-Service in EventAdmin

Folks,

is there a reason eventadmin excludes the Log Service from the 
Import-Packages and instead uses the deprecated Import-Service header?

<Import-Service>
       org.osgi.service.event.EventHandler, 
org.osgi.service.log.LogService, org.osgi.service.log.LogReaderService
</Import-Service>

cheers
-thomas

-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
JBoss OSGi Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx


Re: Import-Service in EventAdmin

Posted by Karl Pauls <ka...@gmail.com>.
The eventadmin doesn't need the logservice packages around to work --
hence, they are excluded. It can use a LogService however, assuming
one is around and the packages are around. The Import-Service is
deprecated but it never did anything in the first place. It is just
there to indicate that we can use a logservice but it could be just
removed as well.

regards,

Karl

On Thu, Mar 25, 2010 at 9:19 PM, Thomas Diesler
<th...@jboss.com> wrote:
> Folks,
>
> is there a reason eventadmin excludes the Log Service from the
> Import-Packages and instead uses the deprecated Import-Service header?
>
> <Import-Service>
>      org.osgi.service.event.EventHandler, org.osgi.service.log.LogService,
> org.osgi.service.log.LogReaderService
> </Import-Service>
>
> cheers
> -thomas
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Thomas Diesler
> JBoss OSGi Lead
> JBoss, a division of Red Hat
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
>



-- 
Karl Pauls
karlpauls@gmail.com