Re: @Component and @AspectService not playing nice

2021-06-17 Thread Steve Runion
. From: Pierre De Rop Sent: Thursday, June 17, 2021 9:49 AM To: users@felix.apache.org Subject: Re: @Component and @AspectService not playing nice CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know

Re: @Component and @AspectService not playing nice

2021-06-17 Thread Pierre De Rop
_ > From: Steve Runion > Sent: Thursday, June 17, 2021 5:18 AM > To: users@felix.apache.org > Subject: Re: @Component and @AspectService not playing nice > > CAUTION: This email originated from outside of the organization. Do not > click links or open attachments unless you rec

Re: @Component and @AspectService not playing nice

2021-06-17 Thread Steve Runion
Subject: Re: @Component and @AspectService not playing nice CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Thanks for the responses. >From what I am reading out usage where

Re: @Component and @AspectService not playing nice

2021-06-17 Thread Steve Runion
bject: Re: @Component and @AspectService not playing nice CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Hello Steve, These annotations are part of the Felix DependencyManager (DM) anno

Re: @Component and @AspectService not playing nice

2021-06-17 Thread Pierre De Rop
Hello Steve, These annotations are part of the Felix DependencyManager (DM) annotaitons. So, the two annotations can't be mixed. @AspectService are specialized DependencyManager components (like @AdapterService, or @BundleAdapterService), and can be used to dynamically define an interceptor (or

Re: @Component and @AspectService not playing nice

2021-06-16 Thread David Jencks
I’m used to the DS OSGI spec @Component annotation but I guess you are using the DM annotations and not DS? David Jencks > On Jun 16, 2021, at 1:57 PM, Steve Runion > wrote: > > My company has used activators for quite some time, instead of annotations, > due to a perceived inability for

@Component and @AspectService not playing nice

2021-06-16 Thread Steve Runion
My company has used activators for quite some time, instead of annotations, due to a perceived inability for the annotations to fit our needs. I have cornered the use case that is reported to be the challenge. We have services that are both aspects on services by their interfaces and also