[ANN] New Apache Felix PMC Chair: Karl Pauls

2017-11-16 Thread Carsten Ziegeler
Hi,

it's my pleasure to announce that Karl took up the role as our new PMC
chair.

Congrats Karl!

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

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



Re: [ANN] New Apache Felix PMC Chair: Karl Pauls

2017-11-16 Thread Jean-Baptiste Onofré

Congrats !!

Regards
JB

On 11/16/2017 03:25 PM, Carsten Ziegeler wrote:

Hi,

it's my pleasure to announce that Karl took up the role as our new PMC
chair.

Congrats Karl!

Regards
Carsten



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

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



Re: [ANN] New Apache Felix PMC Chair: Karl Pauls

2017-11-16 Thread Roy Teeuwen
Congratulations Karl!

Greets,
Roy

> On 16 Nov 2017, at 15:25, Carsten Ziegeler  wrote:
> 
> Hi,
> 
> it's my pleasure to announce that Karl took up the role as our new PMC
> chair.
> 
> Congrats Karl!
> 
> Regards
> Carsten
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org



signature.asc
Description: Message signed with OpenPGP


Declarative Services problems in Apache Karaf

2017-11-16 Thread MarcoF90
Hi,

I am using Declarative Services in Apache Karaf 4.1.3. I notice that in all
@Component using @Reference with policy DYNAMIC on attributes cause
Component deactivate on service changes. This is an example:

@Component(immediate = true)
public class Test3 {

private static final Logger logger = 
LoggerFactory.getLogger(Test3.class);

private GreetService greetService;

@Activate
public void activate(BundleContext bundleContext) {
logger.info("activate() - IN - input: bundleContext = [{}]",
bundleContext);
logger.info("activate() - OUT");
}   

@Deactivate
public void deactivate() {
logger.info("deactivate() - IN");
logger.info("deactivate() - OUT");
}

// - greet service
- //
@Reference(policy = ReferencePolicy.DYNAMIC, policyOption =
ReferencePolicyOption.GREEDY)
public void setGreetService(GreetService greetService) {
logger.info("setGreetService() - NOTIFY - msg: greetService = 
[{}]",
greetService);
this.greetService = greetService;
}

public void unsetGreetService(GreetService greetService) {
logger.info("unsetGreetService() - NOTIFY - msg: greetService = 
[{}]",
greetService);
}

public GreetService getGreetService() {
return greetService;
}

}

When I deactivate GreetService I'd like to unset it in method
unsetGreetService() without DISABLE the entire component calling
deactivate() method. Is this possible? I am able to obtain this behaviour
only with @Reference properties  DYNAMIC and MULTIPLE. Thanks for help.

Marco



--
Sent from: 
http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-f4833200.html

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



Re: Declarative Services problems in Apache Karaf

2017-11-16 Thread Thomas Driessen
Hi Marco,

I think your reference is mandatory by default. This means your service is
deactivated as soon as the need reference vanishes.
Try to make your service optional.

Kind regards,
Thomas

2017-11-16 17:06 GMT+01:00 MarcoF90 :

> Hi,
>
> I am using Declarative Services in Apache Karaf 4.1.3. I notice that in all
> @Component using @Reference with policy DYNAMIC on attributes cause
> Component deactivate on service changes. This is an example:
>
> @Component(immediate = true)
> public class Test3 {
>
> private static final Logger logger = LoggerFactory.getLogger(Test3.
> class);
>
> private GreetService greetService;
>
> @Activate
> public void activate(BundleContext bundleContext) {
> logger.info("activate() - IN - input: bundleContext =
> [{}]",
> bundleContext);
> logger.info("activate() - OUT");
> }
>
> @Deactivate
> public void deactivate() {
> logger.info("deactivate() - IN");
> logger.info("deactivate() - OUT");
> }
>
> // - greet service
> - //
> @Reference(policy = ReferencePolicy.DYNAMIC, policyOption =
> ReferencePolicyOption.GREEDY)
> public void setGreetService(GreetService greetService) {
> logger.info("setGreetService() - NOTIFY - msg:
> greetService = [{}]",
> greetService);
> this.greetService = greetService;
> }
>
> public void unsetGreetService(GreetService greetService) {
> logger.info("unsetGreetService() - NOTIFY - msg:
> greetService = [{}]",
> greetService);
> }
>
> public GreetService getGreetService() {
> return greetService;
> }
>
> }
>
> When I deactivate GreetService I'd like to unset it in method
> unsetGreetService() without DISABLE the entire component calling
> deactivate() method. Is this possible? I am able to obtain this behaviour
> only with @Reference properties  DYNAMIC and MULTIPLE. Thanks for help.
>
> Marco
>
>
>
> --
> Sent from: http://apache-felix.18485.x6.nabble.com/Apache-Felix-Users-
> f4833200.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


-- 
M.Sc. Thomas Driessen
Software Methodologies for Distributed Systems
Institute of Computer Science
University of Augsburg
Universitätsstr. 6a
86135 Augsburg, Germany

Tel:+49 821 598-2486
email: thomas.dries...@informatik.uni-augsburg.de


Re: [ANN] New Apache Felix PMC Chair: Karl Pauls

2017-11-16 Thread David Bosschaert
Congratulations Karl!
And many thanks to Carsten for having been at this role for the past years!

David

On 16 November 2017 at 06:25, Carsten Ziegeler  wrote:

> Hi,
>
> it's my pleasure to announce that Karl took up the role as our new PMC
> chair.
>
> Congrats Karl!
>
> Regards
> Carsten
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> cziege...@apache.org
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


Re: [ANN] New Apache Felix PMC Chair: Karl Pauls

2017-11-16 Thread Raymond Auge
Congratulations Karl and thank you Carsten!

Sincerely,
- Ray

On Thu, Nov 16, 2017 at 10:06 AM, David Bosschaert <
david.bosscha...@gmail.com> wrote:

> Congratulations Karl!
> And many thanks to Carsten for having been at this role for the past years!
>
> David
>
> On 16 November 2017 at 06:25, Carsten Ziegeler 
> wrote:
>
> > Hi,
> >
> > it's my pleasure to announce that Karl took up the role as our new PMC
> > chair.
> >
> > Congrats Karl!
> >
> > Regards
> > Carsten
> > --
> > Carsten Ziegeler
> > Adobe Research Switzerland
> > cziege...@apache.org
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> > For additional commands, e-mail: users-h...@felix.apache.org
> >
> >
>



-- 
*Raymond Augé* 
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* 
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance  (@OSGiAlliance)