You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by james96 <fi...@gmail.com> on 2016/12/22 07:18:38 UTC

Managed Service Factory example

Hi all,

I need a simple example of a managed service factory. I have searched some
examples on the net but I not been able to find one.
The example must have:

 - Managed Factory implementation and registration
 - Bundle that use the Managed Service

Thanks to all






--
View this message in context: http://apache-felix.18485.x6.nabble.com/Managed-Service-Factory-example-tp5019582.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Managed Service Factory example

Posted by Dominik Przybysz <al...@gmail.com>.
Hi,
checkout my github repo [1]. Files [2], [3] and [4] should be the most
interesting for you.

[1] https://github.com/alien11689/feature-toggle
[2]
https://github.com/alien11689/feature-toggle/blob/master/feature-toggle-impl/src/main/java/com/github/alien11689/osgi/featuretoogle/impl/FeatureToggleFactory.java
[3]
https://github.com/alien11689/feature-toggle/blob/master/feature-toggle-impl/src/main/java/com/github/alien11689/osgi/featuretoogle/impl/FeatureActivator.java
[4]
https://github.com/alien11689/feature-toggle/blob/master/feature-toggle-demo/src/main/java/com/github/alien11689/osgi/featuretoogle/demo/PrintingActivator.java

2016-12-22 8:18 GMT+01:00 james96 <fi...@gmail.com>:

> Hi all,
>
> I need a simple example of a managed service factory. I have searched some
> examples on the net but I not been able to find one.
> The example must have:
>
>  - Managed Factory implementation and registration
>  - Bundle that use the Managed Service
>
> Thanks to all
>
>
>
>
>
>
> --
> View this message in context: http://apache-felix.18485.x6.
> nabble.com/Managed-Service-Factory-example-tp5019582.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>


-- 
Pozdrawiam / Regards,
Dominik Przybysz