Yes, now that you mention it, that is actually seeming like more of the
motivation for the flag than what I originally recalled. In general I think
it’s supposed to make the factory-created instances act as much as possible
like regular components.
David Jencks
> On Apr 25, 2023, at 9:05
the created instances are not automatically disposed of.
I thought I’d documented all the non-standard behaviors I implemented, but this
certainly isn’t in the .md.
David Jencks
> On Apr 25, 2023, at 6:56 AM, Raymond Augé
> wrote:
>
> Hello all,
>
> Could someone explain wh
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 perc
east their
> component name as a service.pid (AFAIC this is one of the most understated
> wonders of DS.)
What if you’ve specified configuration policy IGNORE?
Otherwise, I agree it’s a wonderful feature, although I always preferred
configuration policy REQUIRE.
David Jencks
>
> --
it’s been quite a few years since I worked on this area…. do you have any
circular references between DS components? Sometimes a thread dump is useful
in understanding what is going on: I thought DS actually produced one in this
situation.
David Jencks
> On May 8, 2020, at 10:09 AM, raj.
a ComponentFactory service for the
bundle A. so you should look in the A manifest. I don’t know if this actually
works, but it would be a bnd thing, not something felix has any control over.
David Jencks
> On Jun 9, 2019, at 10:58 AM, Clément Delgrange
> wrote:
>
> Thanks a lot, I should
constraints on how
additional bundles must be deployed that don’t work for you. However, from your
description, deploying your solution in a subsystem and exporting the packages
and services you want to expose for extension will meet your needs.
David Jencks
Sent from my iPhone
> On Nov 5, 2
more likely to work
correctly with a fat bundle than with spi-fly.
These are rather abstract or philosophical arguments, so they may or may not
match the reality of using jetty in any particular way.
david jencks
> On Oct 20, 2018, at 1:20 PM, Eric Norman wrote:
>
> Carsten a
could use the new configurator (?name) and put a json file in your bundle with
the appropriate configuration. I’m not sure how is determined for
activator parameters, you might consult the spec.
david jencks
> On Sep 21, 2018, at 6:01 PM, David Daniel wrote:
>
> Thank you David
.
david jencks
> On Sep 21, 2018, at 5:16 PM, David Daniel wrote:
>
> Adding a cardinality did not seem to solve the issue. It appears to be an
> issue with the startlevel as stopping and starting the bundle worked and
> the only bundle that started before it was added. Is t
Require” configuration policy for your DS tenant component. Then,
when a management agent creates a factory configuration for each tenant, DS
will create a corresponding instance of the tenant component.
?
Config admin isn’t going to create component instances for you. This is close
to nitpicking,
of the components uses ManagedProperties for this pid and some
others use ds config-by-annotation, and ManagedProperties has conflicting info
for this pid from config admin, the components will get conflicting
configuration.
thanks
david jencks
> On Jul 13, 2018, at 12:09 AM, Martin Nielsen wr
service. I wonder if you might be able to repackage some of your code as a
converter service enabling its’ use in more contexts.
thanks!
David Jencks
> On Jul 12, 2018, at 1:39 PM, Martin Nielsen wrote:
>
> Hi David
>
> I started managedproperties before tjat specificati
Hi Martin,
I guess you are the developer of this ManagedProperties? How does it differ in
capabilities to the configuration-by-annotation that is built into DS 1.3?
thanks
david jencks
> On Jul 12, 2018, at 10:53 AM, Martin Nielsen wrote:
>
> Hello everyone
>
> I saw Ma
using felix ds and that the scr:info
command you use actually comes from felix? What is in the “equinox compendium”
you mention?
Did anyone significantly change how scr:info works?
thanks
david jencks
> On Jul 11, 2018, at 9:51 AM, Cristiano wrote:
>
> Hi David, thanks for
didn’t
work, but I think that was long ago. I certainly used the info provided from
the scr command (although in IBM Liberty it shows up elsewhere more easily) to
figure out missing references.
david jencks
> On Jul 9, 2018, at 4:29 PM, Cristiano wrote:
>
> Hi all,
>
> Cou
spec so it ought to work fine. Perhaps asking on
the Aries list would get better results.
David Jencks
Sent from my iPhone
> On Dec 13, 2017, at 4:19 AM, Kerry <karaf-u...@avionicengineers.com> wrote:
>
> David,
>
> Thanks for taking a look. As you and Neil Bartlett have
or not it was present. This makes me wonder
even more where the generated headers are coming from any why.
david jencks
> On Dec 12, 2017, at 2:23 PM, Kerry <karaf-u...@avionicengineers.com> wrote:
>
> David,
>
> I quickly tried your suggested POM modification and still generates the
>
to correspond to the
contents of lib/ you've listed.
David Jencks
Sent from my iPhone
> On Sep 6, 2017, at 12:06 PM, Neil Bartlett <njbartl...@gmail.com> wrote:
>
> This error message simply says that your bundle imports (that is, it depends
> on) the package named “o
;keep component switch"?
Thanks
David Jencks
Sent from my iPhone
> On Jul 7, 2017, at 5:46 AM, Carsten Ziegeler <cziege...@apache.org> wrote:
>
> I cant tell atm what is going on, but I suggest you to use the latest
> Apache Felix SCR Release (org.apache.felix.scr) just
eference named Foo
you’d have Foo.cardinality.minimum=1. As long as the factory component is
enabled the ComponentFactory service will be registered and if you can’t create
an instance you might be able to figure out why.
david jencks
>
> Dave
>
> On Fri, Mar 31, 2017 at 5:12
> On Mar 31, 2017, at 1:02 PM, David Jencks <david.a.jen...@gmail.com> wrote:
>
>>
>> On Mar 31, 2017, at 11:03 AM, Dave Smith <dave.sm...@candata.com
>> <mailto:dave.sm...@candata.com>> wrote:
>>
>> See below
>>
>> On Fr
> On Mar 31, 2017, at 11:03 AM, Dave Smith <dave.sm...@candata.com> wrote:
>
> See below
>
> On Fri, Mar 31, 2017 at 1:51 PM, David Jencks <david.a.jen...@gmail.com
> <mailto:david.a.jen...@gmail.com>>
> wrote:
>
>> I think scr:info sho
will never be able to get the
xml’s in time for unit tests. I don’t know if integration tests (failsafe
plugin) run before or after the bundle is assembled, but I think after, so
perhaps that would be worth looking into.
david jencks
> On Mar 16, 2017, at 2:09 AM, Stefan Seifert <sseif.
to the service you want
to use.
hope this helps
david jencks
> On Mar 12, 2017, at 1:13 PM, Dorian Vegara <dorian.veg...@gmail.com> wrote:
>
> Hello to everyone,
>
>
> I wrote three bundles : a provider (providing a service|A|), a client
> (containing one `BundleActivato
, the “Configuration” section explains this
accurately.
thanks
david jencks
> On Feb 17, 2017, at 3:07 PM, Neil Bartlett <njbartl...@gmail.com> wrote:
>
> Normally it’s enough to have a Log Service bundle installed, such as
> org.apache.felix.log. Then you can view messages with
in
excruciating detail what is happening.
hope this helps, if it’s not exceptions please supply debug logs and i will
take a look.
david jencks
> On Feb 17, 2017, at 12:36 PM, Thomas Driessen <thomas.driessen...@gmail.com>
> wrote:
>
> After asking in the osgi-dev list in was
in config admin. I’m not sure if it’s released yet.
david jencks
> On Jan 11, 2017, at 1:31 AM, Christian Wolf <christian.wol...@gmail.com>
> wrote:
>
> Hi,
>
> As Carsten suggested in a previous email, I moved to scr 2.0.6. It is
> working fine. I don't have any probl
I’m not sure if my suggestion would continue to work i R7 due to coordination
support.
david jencks
> On Jan 9, 2017, at 11:46 AM, David Jencks <david.a.jen...@gmail.com> wrote:
>
> Felix DS runs off the configuration events too, so just waiting for the
> events isn’t
the
first bundle to start wins and no other bundle uses the configuration.
david jencks
> On Jan 9, 2017, at 8:17 AM, Christian Wolf <christian.wol...@gmail.com> wrote:
>
> Hi,
>
> I did more tests and I noticed the following behavior with karaf 4.0.8 and
> scr 2.0
after DS, the configuration event is processed synchronously by DS.
hope this helps
david jencks
> On Jan 9, 2017, at 9:01 AM, Tom Quarendon
> <tom.quaren...@worldprogramming.com> wrote:
>
> I'm trying to use the CM_UPDATED and CM_DELETED config admin events in a test
&
, which will
result in the UPDATE fieldOption?
thanks
david jencks
> On Nov 28, 2016, at 2:51 PM, Roy Teeuwen <r...@teeuwen.be> wrote:
>
> Hey,
>
> Maybe I should start making a new thread for this hehe :). Not sure if this
> is a bug or if I'm just using it incorrect
the service type very well, and I’m not
sure anyone has tested with the <> “diamond” notation (although I can’t imagine
how this could mess anything up).
thanks
david jencks
> On Nov 28, 2016, at 12:33 PM, Roy Teeuwen <r...@teeuwen.be> wrote:
>
> Hey Karel,
>
> Sorry to g
involved in recently spent a lot of time rewriting their
ObjectInputStreams to whitelist allowable classes.
One approach I have used is for a bundle with classes that need to be
deserialized to register those class names together with the bundle with the
class loading apparatus.
david jencks
david jencks
> On Oct 7, 2016, at 7:30 AM, Benson Margulies <ben...@basistech.com> wrote:
>
> What is this about? I have DS and CM in my container.
>
> [java] ERROR: Cannot create MetaType providing ManagedService;
> not providing Metatype information but just
, or explicitly
specified pid
Hook the component and OCD together using either @Designate or specifying pid
in @ObjectClassDefinition, but not both
Make sure the file name matches the pid.
david jencks
> On Oct 3, 2016, at 10:38 AM, Raymond Auge <raymond.a...@liferay.com> wrote:
>
Yes :-)
I think you’ll like it…. I did :-)
david jencks
> On Oct 2, 2016, at 2:56 PM, Roy Teeuwen <r...@teeuwen.be> wrote:
>
> Hey Neil,
>
> Thanks, I guess I have to use ObjectClassDefinition and AttributeDefinition
> annotations then :)
>
> Greets
> Roy
Neither this nor restarting the framework should cause problems.
Can you come up with a self contained demonstration of this (no components)
behavior? I vaguely recall someone having a similar problem that I couldn’t
reproduce.
thanks
david jencks
> On Sep 28, 2016, at 8:50 AM, Ben
It should work in any order.
david jencks
> On Sep 28, 2016, at 8:28 AM, Benson Margulies <ben...@basistech.com> wrote:
>
> I'm trying to retrofit SCR/DS into a very dumb application that loads
> some bundles and starts the framework. Everything is at the same start
> leve
Ah, I didn’t read your first post closely enough….. IIUC your code is loading
the native library, you are not using OSGI native code support?
Can you modify things to use OSGI native code support?
david jencks
> On Sep 17, 2016, at 4:16 PM, Benson Margulies <ben...@basistech.com&
the persistence is encoding
the value somehow.
thanks
david jencks
> On Sep 17, 2016, at 9:59 AM, Benson Margulies <ben...@basistech.com> wrote:
>
> I could commit this test, which fails, if you like, with an @Ignore.
>
>
> public class InvalidFileSyntaxTest {
>private
{x} syntax long before a plugin would get a
> chance to modify the dictionary contents, or so I thought.
I’ve been assuming you only want to put the ${xxx} in values, where I’d expect
it to be a fine persistable value…. you weren’t using it as a key were you
(where it won’t work AFAIK)?
are using
instead of fileinstall.
Maybe others have other opinions….
david jencks
> On Sep 16, 2016, at 5:47 PM, Benson Margulies <ben...@basistech.com> wrote:
>
> The system property expansion feature of the configuration-admin
> behavior of fileinstall is quite conven
description. Is there a
config admin gogo command to show you all the configurations it found?
david jencks
> On Sep 16, 2016, at 7:37 AM, Benson Margulies <ben...@basistech.com> wrote:
>
> I need some help interpreting the logging from DS and CM, if someone
> could be kind eno
you look up the
service, not the service it’s a factory for. DS already registers a
ServiceFactory for each component.
Hopefully someone who actually knows something about DM will speak up soon :-)
david jencks
> On Aug 24, 2016, at 5:54 PM, Raymond Auge <raymond.a...@liferay.com&
I think he wants something like DS’s prototype scope in DependencyManager 4…..
I don’t know if it’s available.
david jencks
> On Aug 24, 2016, at 12:02 PM, Raymond Auge <raymond.a...@liferay.com> wrote:
>
> On Wed, Aug 24, 2016 at 2:17 PM, mduduzik <mdudu
).
thanks
david jencks
> On Aug 24, 2016, at 11:17 AM, mduduzik <mduduzi.ke...@gmail.com> wrote:
>
> I would like to create and new instance of component for every service
> request. I believe by default a component is a singleton - i.e. the same
> instance will be retur
the configuration to that one bundle.
“?” lets all bundles see the configuration.
david jencks
> On Aug 10, 2016, at 8:29 AM, Benson Margulies <ben...@basistech.com> wrote:
>
> Configuration-wise, I have the following code. Logging-wise, I have
> pax-exam installing logging,
> Configuration Policy: require
> (No Component Configurations)
You need a configuration or change the configuration policy.
Is your minimal container so minimal that it doesn’t include a log service or
something to collect messages from it?
david jencks
> On Aug 10, 2016, at 8:14 A
ration.
david jencks
> On Aug 10, 2016, at 7:36 AM, Raymond Auge <raymond.a...@liferay.com> wrote:
>
> Carsten, are you sure about null and not the literal string "?"
>
> - Ray
>
> On Wed, Aug 10, 2016 at 9:57 AM, Carsten Ziegeler <cziege...@apache.org>
>
.
thanks
david jencks
> On Aug 4, 2016, at 12:29 PM, list+org.apache.fe...@io7m.com wrote:
>
> Hello.
>
> I have a simple declarative service such as:
>
> --8<--
> @Component(immediate = true)
> public final class Speaker implements SpeakerType
> {
> public Sp
the ServiceObjects interface you can get as
many instances as you want.
There’s also stuff you can now do with multiple pids but maybe the above is
enough for now….
hope this helps
david jencks
> On Jun 27, 2016, at 3:32 PM, Cristiano Gavião <cvgav...@gmail.com> wrote:
>
> Sorry, my mista
without a
user either unless you specify immediate=true as well.
I generally don’t specify enabled=true since that is the default value.
david jencks
> On Jun 27, 2016, at 2:42 PM, Cristiano Gavião <cvgav...@gmail.com> wrote:
>
> Hello,
>
> I'm facing a situation that I'm n
xml using bnd, so you’d get the same one everywhere.
More flexibly, you can specify the component properties in a property file,
using the @Component properties member. You can put properties files with the
same name and location but different contents in each bundle.
david jencks
> On
these transactions to have?
thanks
david jencks
> On May 25, 2016, at 1:23 PM, tho huynh ngoc <ngocthob...@gmail.com> wrote:
>
> Hi,
>
>
> I define a transaction is a set of continuous activities (one method or set
> of methods) in a component.
>
> I wrote a simple e
more or less ready. I have to
investigate whether the nested object key encoding scheme implemented in DS can
be added to a spec converter using an adapter.
Meanwhile, can you use an array?
thanks
david jencks
> On May 22, 2016, at 9:59 AM, David Jencks <david_jen...@yahoo.com.I
types for
2.0.4. I need to consult the draft object conversion spec to see what might be
reasonable.
thanks
david jencks
> On May 22, 2016, at 4:54 AM, Steven Walters <kemu...@gmail.com> wrote:
>
> On Sun, May 22, 2016 at 4:24 PM, David Jencks
> <david_jen...@yahoo.com.inva
or use both metatype and config admin and specify
then in the metatype defaultValue.
Hope this helps
david jencks
> On May 21, 2016, at 9:51 PM, Steven Walters <kemu...@gmail.com> wrote:
>
> I've found that Felix appears to have an extension to the OSGi R6/DS
> 1.3 specifi
Can you verify that your case is the same as Victor’s? All the circular
references I encounter work fine, if there are 2 different broken cases that
would be good to know when investigating Victor’s case.
thanks
david jencks
> On May 12, 2016, at 2:58 AM, Ferry Huberts <maili...@hup
the
> BundleContext because there is no way to have dynamic objectclasses for
> provided services in DS or do I miss someting?
>
> Have a nice weekend.
>
> Best regards,
> Jens
>
>
> Gesendet: Freitag, 08. April 2016 um 17:29 Uhr
> Von: "David Jencks"
concerns about interference between
specifying something with the spec anno and the custom anno so I gave up.
However this might be worth revisiting. It might look like
@Component
@ExtraService(FooProvider.class)
public class FooProviderChildImpl implements FooProviderChild {…}
david jencks
helps….
david jencks
> On Apr 8, 2016, at 12:57 AM, Jens Offenbach <wolle5...@gmx.de> wrote:
>
> Hallo,
> I am making intensive use of the DS pattern that allows us to couple a single
> configuration to a single component instance using a Managed Service Factory
> P
the references?
thanks
david jencks
> On Apr 8, 2016, at 6:23 AM, Simon Chemouil <schemo...@gmail.com> wrote:
>
> Hi,
>
> For the record I have had the same need as Jens in the past. As Neil
> suggested, I ended up using a ServiceTracker but this is a pity.
>
>
Felix scr version >= 2 requires an R6 framework, which exports the dto package
at version 1.0.0.
There have been at least one request to provide a version that runs on R5
frameworks, but I haven’t had time to set that up.
thanks
david jencks
> On Mar 23, 2016, at 2:51 PM, d...@beye
I’m not certain how the maven-bundle-plugin is set up, but with bnd by itself
the default is dsannotatios and metatypeannotations are *, so I’d be surprised
if you have to specify them in the instructions here.
david jencks
> On Mar 22, 2016, at 12:18 AM, Jens Offenbach <wolle5...@
Can you check if this still happens with trunk? I recently fixed
https://issues.apache.org/jira/browse/FELIX-5194
<https://issues.apache.org/jira/browse/FELIX-5194> which is a race condition on
component startup between querying config admin and getting the initial
configuration event.
will bind, and want them
all before the component starts, you can use the
.cardinality.minimum property to specify how many services to bind
must be available before the component is satisfied and activates.
thanks
david jencks
> On Jan 22, 2016, at 11:22 AM, b...@petinou.fr wrote:
>
> One l
um, multiple and dynamic is greedy anyway, so you don’t need to specify it
explicitly. multiple and static requires specifying greedy explicitly to get
the greedy behavior.
Other than that, I think your explanation is correct.
david jencks
> On Jan 22, 2016, at 7:20 AM, Raymond A
Yes, this is a better place to ask :-)
I don’t see what’s wrong by just looking, I’m hoping to have enough time
shortly to try your code, unless someone else gets there first.
thanks
david jencks
> On Jan 12, 2016, at 11:02 PM, b...@petinou.fr wrote:
>
> Hi everyone,
&g
model. I haven’t been able to figure out improvements to what
is there that actually seem to me to provide more information without being
very redundant and more confusing. Maybe you will have better luck.
thanks
david jencks
> On Dec 3, 2015, at 8:19 AM, Raymond Auge <raymond
well, to me it did state that quite plainly:
>>>> Configuration Policy: require
I look forward to your suggestions.
thanks
david jencks
> On Dec 3, 2015, at 9:12 AM, Raymond Auge <raymond.a...@liferay.com> wrote:
>
> The point is that it took me and a techni
It looks pretty blatant to me that the reason there are no component
configurations is that there is no CA configuration. What kind of notification
do you want?
thanks
david jencks
> On Dec 3, 2015, at 7:57 AM, Raymond Auge <raymond.a...@liferay.com> wrote:
>
> Hey all
more or less solved by Ray’s
request…. although it turns out you can’t tell whether the component
description is enabled or disabled, so you can’t distinguish between missing
configuration and disabled.
thanks
david jencks
> On Dec 3, 2015, at 2:14 PM, Neil Bartlett <njbartl...@gmail.com&
Since the Component Configuration: header appears for each component
configuration, I might prefer
…
(No Component Configuration)
I think I’d leave this out when the component is disabled as an additional clue
about the state.
WDYT?
thanks
david jencks
> On Dec 3, 2015, at 9:50 AM, Raym
nonstandard == not in the DS 1.3 spec.
These options are only supported by bnd, but I don’t really foresee anyone else
writing a ds annotation processing tool. Do you?
thanks
david jencks
> On Nov 17, 2015, at 2:47 PM, Benson Margulies <ben...@basistech.com> wrote:
>
> On Tu
sure you can
-dsannotations-options=inherit
not spec yet, but maybe we can eventually twist some arms :-)
I really recommend only doing this if all the classes with annotations are in
the same bundle.
david jencks
> On Nov 17, 2015, at 1:00 PM, Benson Margulies <ben...@basistech.com&
is that
(1) allowing this for classes where all the annotated superclasses are in the
same bundle is completely safe
(2) in any case it is just as safe as the service-component header method.
So I’d be in favor of lobbying that the 1.4 ds spec allow at least case (1).
david jencks
> On Nov
If you use bnd3 these Provide-Capability/Require-Capability headers should be
generated for you from the DS info.
david jencks
> On Oct 10, 2015, at 8:55 AM, Paul F Fraser <pa...@a2zliving.com> wrote:
>
> On 10/10/2015 10:17 PM, John Ross wrote:
>> I'm not sure if this
Well, that’s not too surprising because your reference is indeed static (the
default). Whatever is producing this report apparently doesn’t know about the
policy option so isn’t reporting it.
david jencks
> On Oct 1, 2015, at 7:54 PM, Benson Margulies <ben...@basistech.com> wrote:
.
You need to include a lot more information about exactly what your components
look like and the circumstances around the behavior you report to assign a
specific cause to it.
thanks
david jencks
> On Sep 8, 2015, at 1:23 PM, Benson Margulies <ben...@basistech.com> wrote:
>
>
for this purpose.
There’s no guarantee that a bundle starting will start all the DS services it
provides. They might have all sorts of unsatisfied dependencies….. such as
missing configurations.
Let me know if this guess is a total miss :-)
thanks
david jencks
> On Sep 7, 2015, at 10:52
to tell
cxf.
A pretty simple example of how to do this is in the aries imx jmx-whiteboard
project, which is more complicated than you would need since it has to deal
with multiple MBean servers whereas I think you would have only one cxf.
thanks
david jencks
> On Sep 7, 2015, at 12:46
and not be immediate, then it won’t be
activated until someone needs it and will pick up however many are then
available, even without the cardinality set.
david jencks
> On Sep 7, 2015, at 11:46 AM, Neil Bartlett <njbartl...@gmail.com> wrote:
>
> Just to add a bit of detail…
&
> On Sep 7, 2015, at 5:06 PM, Benson Margulies <ben...@basistech.com
> <mailto:ben...@basistech.com>> wrote:
>
> On Mon, Sep 7, 2015 at 4:07 PM, David Jencks
> <david_jen...@yahoo.com.invalid <mailto:david_jen...@yahoo.com.invalid>>
> wrote:
>
nt past I think that an exception on activation did something like
disabling the component. Due to all the cool new 1.3 features you should use
the latest release 2.0 but the previous release may have also had the
cardinality.minimum support… but don’t quote me :-)
thanks
david jen
strength available but to me it has the feel of logic programming.
thanks
david jencks
> On Sep 7, 2015, at 2:55 PM, Benson Margulies <ben...@basistech.com> wrote:
>
> I think I now understand what I have failed to explain here (and I
> probably know why my service is ac
forgot the magic words in the commit again, could you close the
pull request?
thanks
david jencks
On Aug 22, 2015, at 12:38 PM, Benson Margulies ben...@basistech.com wrote:
Oh, and I submitted two more JIRAs with PR's for gogo.
On Sat, Aug 22, 2015 at 12:36 PM, Benson Margulies ben
to a
branch in my github felix clone and then cherry-pick from there? I’d expect
that would reduce a combinatorial explosion of remote branches as more people
supplied patches on github.
I didn’t see 4970 yet…
thanks
david jencks
On Aug 22, 2015, at 7:36 AM, Benson Margulies ben...@basistech.com
bundle, so the
wiring info works even when regions/framework hooks are present.
thanks
david jencks
On Aug 21, 2015, at 5:15 PM, Benson Margulies ben...@basistech.com wrote:
Derek,
Thanks, that did it. I've got an outstanding PR for some fixes in
gogo, could I perhaps interest you in having
there may be different
considerations for your use.
thanks
david jencks
On Jul 20, 2015, at 9:17 AM, Alex Sviridov ooo_satu...@mail.ru wrote:
Hello, Christian. Thank you very much for detailed answers and great tutorial!
I have one question - Does blueprint support scopes - I need new instance
integration.
DS component factories as specced are almost useless IMO and are certainly not
the solution you want to try here.
Why do you need to use CDI? If you are writing an OSGI based application I
would look into simply using DS for all components.
thanks
david jencks
On Jul 16, 2015, at 11:41 AM
. they get the
same ref for each per-service instance) then these can be provided as DS
references in this DS component.
I agree that using ServiceTracker in this way is reasonable and simpler than
only using DS.
thanks
david jencks
On Apr 24, 2015, at 12:05 PM, Neil Bartlett njbartl...@gmail.com
to?
thanks
david jencks
On Mar 9, 2015, at 11:10 AM, Raymond Auge raymond.a...@liferay.com wrote:
In fact, I would be satisfied it there were placeholders ONLY for the
service properties which can only be known at runtime.
On Mon, Mar 9, 2015 at 11:07 AM, Raymond Auge raymond.a...@liferay.com
into the metatype xml.
The proprietary metatype framework I work with uses the pid of the target
configuration for foreign key references.
thanks
david jencks
On Mar 3, 2015, at 2:29 PM, Raymond Auge raymond.a...@liferay.com wrote:
Some searching lead to another request for something like
in the philosophy behind DS
which is unlikely to happen any time soon. Having dealt with annotation
processing for javaee I cannot express how strongly I am against runtime
annotation processing for DS.
thanks
david jencks
On Feb 5, 2015, at 3:41 PM, Milen Dyankov milendyan...@gmail.com wrote:
So
to not use the default. To
understand what the component exposes you would also have to try to figure out
what the bundle exports, which is not obvious from the component class itself.
thanks
david jencks
On Feb 5, 2015, at 1:06 PM, Pawel Pogorzelski pawel.pogorzels...@gmail.com
wrote
as there would be no way to
specify service properties in order to distinguish different instances. It
would certainly interfere with any existing component model such as DS or
blueprint and probably with any attempt to register a service in code.
david jencks
On Feb 5, 2015, at 2:37 PM, Milen
class you actually want to be a real live
button with @Component so DS knows enough to create one, you could write an
extension processor that would find your @AutoRegister annotation on the
interface in the inheritance hierarchy and add it to the exposed services.
thanks
david jencks
On Feb 5
test would be a
stretch).
david jencks
On Dec 12, 2014, at 9:31 AM, Achim Nierbeck bcanh...@googlemail.com wrote:
Dynamic Import?
Add a manifest header or dynamically importing your testclass in case it's
available,
but I would actually work with a service tracker that waits
If there was (I don't think there is), since the bundle is normally a zip file,
it would expect that would mean that the framework was copying the zip entry
into a file, so I don't see how you would be gaining anything time-wise,
perhaps just a tiny bit less code?
david jencks
On Dec 12, 2014
1 - 100 of 166 matches
Mail list logo