Lindsay,
Thanks for starting this conversation as this has been on the edge of my
mind over the past few days.
Unlike yourself and Craig, I'm at cusp of a new venture into the world of
OSGi and although integration of it into our product (embedded) is
proceeding extremely well, the question of
On Tue, Oct 11, 2011 at 1:26 PM, Raymond Auge raymond.a...@liferay.com wrote:
On Tue, Oct 11, 2011 at 11:48 AM, Philipp Kursawe
phil.kurs...@gmail.com wrote:
On Tue, Oct 11, 2011 at 2:20 PM, Neil Bartlett njbartl...@gmail.com wrote:
log.log(LogService.LOG_ERROR, blah blah);
i.e., why do
On Tue, Oct 11, 2011 at 3:36 PM, BJ Hargrave hargr...@us.ibm.com wrote:
My point is simply that the LogService makes writing code free of OSGi
apis (as is commonly preached) difficult on top of the other concerns
above.
Your logging code has to be written to some logging API. Why is some
Hello,
I was wondering what kinds of stories people have about their experiences
with scaling OSGi frameworks in elastic cloud scenarios.
I'm just starting to touch this issue with our product and so any info on
gotchas would be appreciated.
The scenario I have is a central web app that
Sorry, I did find this:
http://www.osgi.org/Conference/2010-CloudWorkshopand some other info
on the wiki, which I will review.
Any additional info is very welcome.
Sincerely,
- Raymond
On Mon, Dec 19, 2011 at 4:44 PM, Raymond Auge raymond.a...@liferay.comwrote:
Hello,
I was wondering what
My team is developing a service platform on OSGi platform.
One big concern of my boss is bundle resource monitoring/profiling on
service bundles.
That is, if a service bundle eats too much memory or CPU, can OSGi runtime
detect this event and take some action?
I think the only way to do
On Sun, Jun 3, 2012 at 9:02 AM, chris.g...@k-embedded-java.com wrote:
Even using a custom SM or java.lang.instrumentation it's pretty difficult
to answer question such as who is allocating so much memory?. Christer
Larsson (MakeWave) and I demonstrated a resource management API at the
OSGi
2012/7/9 Völschow, Rainer rainer.voelsc...@awd.de
Exists a way to create a bundle, that contains onther bundles? And if so
how can I achive this?
Can you explain the reason you would want to do that?
I can think of three possible ones, each has a very different answer. All
of them involve
...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org,
Date:2012/09/13 10:41
Subject:[osgi-dev] best way to generate a classpath for
javax.tools.JavaCompiler
AM---Hi, Am 13.09.2012 um 17:01 schrieb Raymond Auge:]Felix Meschberger
---09/14/2012 06:37:05 AM---Hi, Am 13.09.2012 um 17:01 schrieb Raymond Auge:
From:
Felix Meschberger fmesc...@gmail.com
To:
OSGi Developer Mail List osgi-dev@mail.osgi.org,
Date:
09/14/2012 06:37 AM
OSGi Fellow and CTO of the *OSGi Alliance* http://www.osgi.org/*
**hargr...@us.ibm.com* hargr...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org,
Date:2012/09/14
as the jasper Jsr199JavaCompiler does.
Sincerely,
- Ray
On Fri, Sep 14, 2012 at 2:30 PM, Raymond Auge raymond.a...@liferay.comwrote:
Alright then!
Thanks All,
- Ray
On Fri, Sep 14, 2012 at 2:17 PM, BJ Hargrave hargr...@us.ibm.com wrote:
OSGi has done this for many other limited parts of Java
Mvn, I clearly misinterpreted that second line.. *The names of resources
visible to a bundle wiring's parent class loader, such as the bootstrap
class loader, must not be included in the result.*
*
*
*Sorry,*
*- Ray*
On Fri, Nov 9, 2012 at 12:39 PM, Raymond Auge raymond.a...@liferay.comwrote
Hello All,
Regarding the definition of BundleWiring.listResources
http://www.osgi.org/javadoc/r4v43/core/org/osgi/framework/wiring/BundleWiring.html#listResources(java.lang.String,
java.lang.String, int)
in particular the paragraph:
*Only the resource names for resources in bundle wirings
Hello All,
I'd like to asked what is the suggested method for creating instance
factories according to the service pattern.
i.e. I would like to obtain a list of stateless instances which are single
use and which are subsequently simply collected.
I'm thinking service factory but I'm not sure
EventAdmin I believe.
On Wed, Dec 19, 2012 at 11:54 AM, Raymond Auge raymond.a...@liferay.comwrote:
On Wed, Dec 19, 2012 at 11:27 AM, Felix Meschberger fmesc...@gmail.comwrote:
Hi,
Am 19.12.2012 um 17:12 schrieb Raymond Auge:
Hello All,
I'd like to asked what is the suggested method
.
Sincerely,
- Ray
Kind regards,
Peter Kriens
On 19 dec. 2012, at 17:54, Raymond Auge wrote:
On Wed, Dec 19, 2012 at 11:27 AM, Felix Meschberger fmesc...@gmail.comwrote:
Hi,
Am 19.12.2012 um 17:12 schrieb Raymond Auge:
Hello All,
I'd like to asked what is the suggested method
On Thu, Dec 20, 2012 at 1:44 PM, chris.g...@k-embedded-java.com wrote:
Ray,
What we have is a typical event handler scenario:
processEvent(Event event) {
Handler[] handlers = getHandlers(key);
for (Handler handler : handlers) {
handler.process(event);
}
}
I'd like to
at 2:35 PM, Raymond Auge raymond.a...@liferay.comwrote:
On Thu, Dec 20, 2012 at 1:44 PM, chris.g...@k-embedded-java.com wrote:
Ray,
What we have is a typical event handler scenario:
processEvent(Event event) {
Handler[] handlers = getHandlers(key);
for (Handler handler : handlers
Thx Felix.
- Ray
On Fri, Mar 8, 2013 at 8:01 AM, Tang Yong tangy...@cn.fujitsu.com wrote:
since I'm not able to come to eclipsecon (limited resources as Cristiano)
I really look forward to those slides :)
+1, the same feeling.
I wish that in the future, OSGi DevCon can come China, :)
. 2013, at 16:56, Raymond Auge wrote:
[This was going to be a response to the DS vs Blueprint thread.. but got
too long]
Re: DS vs Blueprint?
What about complex concerns like providing aop on thousands of services?
Speaking to David Bosschaert briefly about this at osgi con, he suggested
two
the same services.
Anyway, speed is a matter of risk and effort. Not sure either approach is
faster or slower only that big bangs tend to fail.
Kind regards,
Peter Kriens
On 1 apr. 2013, at 16:54, Raymond Auge wrote:
Thanks for your response Peter. I really appreciate it.
I follow your logic
I guess I was asking generally to some degree since I was unclear whether
the underlying DS spec allowed for it.
On Tue, Apr 16, 2013 at 4:23 PM, Raymond Auge raymond.a...@liferay.comwrote:
Thank you Neil,
Sorry, I'm currently using the bnd annotations (1.50.0, haven't upgraded
yet
baz
/property
Neil
On Tue, Apr 16, 2013 at 9:24 PM, Raymond Auge raymond.a...@liferay.comwrote:
I guess I was asking generally to some degree since I was unclear whether
the underlying DS spec allowed for it.
On Tue, Apr 16, 2013 at 4:23 PM, Raymond Auge
raymond.a
On Fri, Apr 26, 2013 at 11:14 AM, Ferry Huberts maili...@hupie.com wrote:
On 26/04/13 17:08, Raymond Auge wrote:
Hello All,
(this may already exist, if so forgive the noise... and then please
point me to it :) )
Does it make any sense to have a means for bundles to declare
it's dependencies are met in traditional manner.
- Ray
On Fri, Apr 26, 2013 at 11:31 AM, Raymond Auge raymond.a...@liferay.comwrote:
On Fri, Apr 26, 2013 at 11:14 AM, Ferry Huberts maili...@hupie.comwrote:
On 26/04/13 17:08, Raymond Auge wrote:
Hello All,
(this may already exist
:39 PM, Raymond Auge raymond.a...@liferay.comwrote:
On Fri, Apr 26, 2013 at 12:59 PM, Neil Bartlett njbartl...@gmail.comwrote:
Yep...
Require-Capability: osgi.service;
filter:=(objectClass=org.example.foo.MyService); effective:=active;
resolution:=optional;
Except in this case, I would
Wouldn't it be nice if we could track|filter services by runtime type
annotations?
Currently I can see the only possible solution being something along the
lines of (note these are bnd DS annotations):
@Component(
properties={
annotation=com.foo.Baz
},
provide=Object.class
)
@Baz
public class
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2013/06/27 15:19
Subject:Re: [osgi-dev] tracking by annotations
Sent by:osgi-dev-boun...@mail.osgi.org
--
This is how I'm
Technical Staff Member, IBM
OSGi Fellow and CTO of the *OSGi Alliance* http://www.osgi.org/*
**hargr...@us.ibm.com* hargr...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev
:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2013/06/27 15:19
Subject:Re: [osgi-dev] tracking by annotations
Sent by:osgi-dev-boun...@mail.osgi.org
This is how I'm tacking them currently:
Filter filter
On Wed, Jul 31, 2013 at 1:15 PM, Ferry Huberts maili...@hupie.com wrote:
For (semantic) versioning in OSGi the bundle version actually is
meaningless. It's a marketing number, so 6.2.0 in your case.
Only package versions have meaning.
Of course you can always version everything the same,
:
On 31/07/13 19:23, Raymond Auge wrote:
On Wed, Jul 31, 2013 at 1:15 PM, Ferry Huberts maili...@hupie.com
mailto:maili...@hupie.com wrote:
For (semantic) versioning in OSGi the bundle version actually is
meaningless. It's a marketing number, so 6.2.0 in your case.
Only
Hello, what is the proper way to mark private packages?
I know of the bnd Private-Package header.
Are there other ways?
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect
*Liferay, Inc.* http://www.liferay.com (@Liferay)
://www.osgi.org/*
**hargr...@us.ibm.com* hargr...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2013/08/09 14:56
Subject:[osgi-dev] marking private
I just want to clarify the distinction between
Fragment-Host: system.bundle; extension:=framework
Fragment-Host: system.bundle; extension:=bootclasspath
with respect to classes the bundle has access to.
1) is there a distinction?
2) what about the case when the framework is not itself loading
/core/org/osgi/framework/Constants.html#FRAMEWORK_BOOTDELEGATION
[2] -
http://www.osgi.org/javadoc/r5/core/org/osgi/framework/Constants.html#FRAMEWORK_BUNDLE_PARENT
[image: Inactive hide details for Raymond Auge ---08/12/2013 09:42:22
AM---I just want to clarify the distinction between
as optional at best so that your extension does not fail
miserably if the other extension is not present.
Tom
[image: Inactive hide details for Raymond Auge ---08/12/2013 10:16:17
AM---There is one problem with your explanation: 3.15.1 Illegal]Raymond
Auge ---08/12/2013 10:16:17 AM---There is one
[image: Inactive hide details for Raymond Auge ---08/12/2013 10:58:29
AM---I'm just wondering if an Extension Bundle, as per section]Raymond
Auge ---08/12/2013 10:58:29 AM---I'm just wondering if an Extension
Bundle, as per section 3.15 of the spec, has access to the same
From: Raymond Auge
Hello everyone,
I'm wondering the best approach for modelling hierarchically complex
configuration data in DS
For example, Portlets (JSR-168/286) have rather complex configuration
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd.
If I wanted to model a Portlet as a DS component, I have a
To clarify, the config metadata model doesn't seem to be enough to support
this level of complexity.
On Tue, Oct 1, 2013 at 10:59 AM, Raymond Auge raymond.a...@liferay.comwrote:
Hello everyone,
I'm wondering the best approach for modelling hierarchically complex
configuration data in DS
, at 16:59, Raymond Auge raymond.a...@liferay.com wrote:
Hello everyone,
I'm wondering the best approach for modelling hierarchically complex
configuration data in DS
For example, Portlets (JSR-168/286) have rather complex configuration
http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
hmm.. too bad.
On Wed, Oct 2, 2013 at 2:28 PM, Peter Kriens peter.kri...@aqute.biz wrote:
I think the config admin spec recommends (SHOULD) that a property key is a
symbolic name, this leaves out square brackets ...
Kind regards,
Peter Kriens
On 2 okt. 2013, at 15:35, Raymond Auge
While I'm sure this is well documented I just can't seem to find it.
Is there any way to trigger the activation of a service provided via an
extension bundle on the system bundle?
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect
*Liferay,
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2013/10/27 13:24
Subject:[osgi-dev] service from extension bundle?
Sent by:osgi-dev-boun
packages until such a time as those APIs are re-engineered
into more modular ones.
- Ray
On Mon, Oct 28, 2013 at 4:15 AM, Felix Meschberger fmesc...@gmail.comwrote:
Hi
Am 27.10.2013 um 18:53 schrieb Raymond Auge raymond.a...@liferay.com:
Sigh... too bad! (but I'm glad it's coming).
I'm
. They the the
BUndle-Context of the System bundle.
Kind regards,
Peter Kriens
On 28 okt. 2013, at 14:54, Raymond Auge raymond.a...@liferay.com wrote:
Great BJ,
How do I do that? That's effectively what I want. But there doesn't appear
to be any way for the extension to actually execute in order
Is there a standard approach for configuration in a clustered env?
The Cloud Computing RFP briefly mentions configuration and refers to the
Config Admin spec as relevant to cloud.
However, there doesn't appear to be any specifics beyond that.
So, what's the typical strategy for replication?
-
.. replication of configuration ..
On Sat, Nov 9, 2013 at 1:09 PM, Raymond Auge raymond.a...@liferay.comwrote:
Is there a standard approach for configuration in a clustered env?
The Cloud Computing RFP briefly mentions configuration and refers to the
Config Admin spec as relevant to cloud
it would be nice to start a new RFC to
discuss/design this further...
Cheers,
David
On 9 November 2013 18:10, Raymond Auge raymond.a...@liferay.com wrote:
.. replication of configuration ..
On Sat, Nov 9, 2013 at 1:09 PM, Raymond Auge raymond.a...@liferay.com
wrote
Peter, you can look at http://github.com/liferay/liferay-portal for a
complete picture of how we use hibernate, with some jpa configs as well.
Later today I can explicitly point out each case you outlined above to
clarify from our massive codebase. cache, tx, etc
We also have plugins which
PS: It's open source so feel free to criticise the code ( as long as it's
constructive).
Ray
On Nov 25, 2013 8:47 AM, Raymond Auge raymond.a...@liferay.com wrote:
Peter, you can look at http://github.com/liferay/liferay-portal for a
complete picture of how we use hibernate, with some jpa
Recently I've performed some JMH benchmarking on the usecases for
retireving collections of services.
I discovered that raw usage of the ServiceTracker is in fact very slow for
most cases due to heavy synchronization (both equinox and felix seem to
have similar synchronization, although all my
improvements to
propose.
Tom
[image: Inactive hide details for Raymond Auge ---01/09/2014 10:17:44
AM---Recently I've performed some JMH benchmarking on the usecase]Raymond
Auge ---01/09/2014 10:17:44 AM---Recently I've performed some JMH
benchmarking on the usecases for retireving collections
in the whole?
Kind regards,
Peter Kriens
On 9 jan. 2014, at 17:17, Raymond Auge raymond.a...@liferay.com wrote:
Recently I've performed some JMH benchmarking on the usecases for
retireving collections of services.
I discovered that raw usage of the ServiceTracker is in fact very slow
Got it! Makes sense.
Just like the book you recommended states, sometimes the worst issue is not
describing how a class is intended to be used w.r.t. thread safety and
concurrency.
Thanks,
- Ray
On Tue, Jan 14, 2014 at 1:07 PM, BJ Hargrave hargr...@us.ibm.com wrote:
If you look at the
Why not provide two different impls?
Same API, different Bundle-RequiredExecutionEnvironment.
With no difference in the external APIs you're not breaking the portability
of user's code.
Obviously concurrency is far less of a problem in embedded. But on the
server side actually the opposite is
Hello All,
I was wondering if there were provided utilities for handling the property
types.
For instance, string+, arrays of primitives, etc?
I hate rewriting things if they already exist. However, I don't see
anything either in the core or compendium, but it seems rather sad if we
all have to
,
Peter Kriens
On 7 feb. 2014, at 17:00, Raymond Auge raymond.a...@liferay.com wrote:
Hello All,
I was wondering if there were provided utilities for handling the property
types.
For instance, string+, arrays of primitives, etc?
I hate rewriting things if they already exist
I'd suggest simply using the whiteboard pattern.
It would look like:
Bundle A: if optional O becomes available, it publishes a O[A] service to
the registry
Bundle B, if optional O becomes available, it tracks and uses services O[*]
Either way, both bundles can run individually, but collaborate
Is it possible to use wireadmin to add new package imports to bundles
dynamically?
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect
*Liferay, Inc.* http://www.liferay.com (@Liferay)
___
OSGi
(org.osgi.framework.hooks.weaving.WovenClass)
[5]
http://www.osgi.org/javadoc/r6/core/org/osgi/framework/hooks/weaving/WovenClass.html#getDynamicImports()
[image: Inactive hide details for Raymond Auge ---06/09/2014 09:04:21
AM---Is it possible to use wireadmin to add new package imports t]Raymond
Auge ---06/09/2014 09:04:21
/osgi/framework/hooks/weaving/package-summary.html
Tom
[image: Inactive hide details for Raymond Auge ---06/09/2014 10:07:26
AM---Ok so weaving is limited to r6.. not good news. I'm working]Raymond
Auge ---06/09/2014 10:07:26 AM---Ok so weaving is limited to r6.. not good
news. I'm working
Hey all,
How do you set a multi-valued default for an AD?
Is it possible?
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect
*Liferay, Inc.* http://www.liferay.com (@Liferay)
___
OSGi Developer
Hello all,
I was wondering if with the recent release of core r6 (and that of eclipse
luna) if it would show up in maven central any time soon?
I note that the r5 bundles were published by David Bosschaert.
David, do you know if this is in the works?
It'd be nice to be able to start altering
Sorry, I was referring to:
http://mvnrepository.com/artifact/org.osgi/org.osgi.core/5.0.0
- Ray
On Mon, Jun 30, 2014 at 3:31 PM, Raymond Auge raymond.a...@liferay.com
wrote:
Hello all,
I was wondering if with the recent release of core r6 (and that of eclipse
luna) if it would show up
Well look here.
Please review.
-- Forwarded message --
From: Nexus Repository Manager ne...@oss.sonatype.org
Date: Mon, Jul 28, 2014 at 3:07 PM
Subject: Nexus: Staging Completed
To: Peter Kriens peter.kri...@aqute.biz, Stuart McCulloch
mccu...@sonatype.com, Raymond Auge
What's the best approach to allowing use of the com.sun.* xml packages
provided by Java SE?
There's a huge number of packages there and listing them out is tedious!
Note that the problem is not direct use of container classes, but because
the way the XML factories/providers handle creating
Is it wrong to use
org.osgi.framework.bootdelegation=com.sun.org.apache.*
- Ray
On Tue, Aug 5, 2014 at 5:08 PM, Raymond Auge raymond.a...@liferay.com
wrote:
Specifically, I'm talking about
com.sun.org.apache.*
On Tue, Aug 5, 2014 at 5:03 PM, Raymond Auge raymond.a...@liferay.com
wrote
://search.maven.org/#browse%7C-1002239558
On Tue, Aug 5, 2014 at 5:16 PM, Raymond Auge raymond.a...@liferay.com
wrote:
Is it wrong to use
org.osgi.framework.bootdelegation=com.sun.org.apache.*
- Ray
On Tue, Aug 5, 2014 at 5:08 PM, Raymond Auge raymond.a...@liferay.com
wrote:
Specifically, I'm
about this (I thought it was on Karaf's website, but I can't find
it), but the default config.properties that comes with Karaf lists them all
out.
On 5 August 2014 19:24, Raymond Auge raymond.a...@liferay.com wrote:
An example of a osgi bundle which requires such packages
Raymond Auge raymond.a...@liferay.com:
Thank you Felix.
Do you know which mode of the framework classloader is required for
bootdelegation to work when embedded?
I tried the bootdelegation earlier, but I didn't not succeed. However, I
am running embedded so that may play into my issue
:03 AM, Raymond Auge raymond.a...@liferay.com
wrote:
Sadly, it's not working for me. I'm using equinox btw.
I'll keep trying though as I feel more confident that this is the correct
approach.
On Tue, Aug 5, 2014 at 11:58 PM, Raymond Auge raymond.a...@liferay.com
wrote:
Yes it is :) I
There is one caveat to the above.
I must use
org.osgi.framework.bundle.parent=framework
otherwise, I return to the same original problem.
But I'm ok with setting this.
- Ray
On Wed, Aug 6, 2014 at 11:02 AM, Raymond Auge raymond.a...@liferay.com
wrote:
On Wed, Aug 6, 2014 at 4:27 AM, Neil
Hey All,
Every other week a new developer comes around and starts asking those
smarty pants questions:
Q: .. what about holding references, and bundles/services coming and going
during this time??
It makes me violent!
Does anyone know of a document that discusses this topic so as I can simply
, it is a
useful thing.
I think the only caveat is that getDataFile may not be implemented (and
of course that it is protected if a SecurityManager is active) on
certain platforms.
Regards
Felix
Am 09.08.2014 um 19:26 schrieb Raymond Auge raymond.a...@liferay.com:
Hey All,
Over
them this so they scrap Websphere! They will be so thankful for
pointing this out to them!
Or just let them read anti-fragile from Taleb.
Kind regards,
Peter Kriens
On 13 aug. 2014, at 07:59, Raymond Auge raymond.a...@liferay.com wrote:
Hey All,
Every other week a new developer
Thanks Chris, et al.
I may quote significant parts of this thread!
- Ray
On Wed, Aug 13, 2014 at 2:48 PM, chris.g...@kiffer.be wrote:
Whenever you hold a reference to some other object you run a risk that
that object will enter a state in which some method you invoke will not do
what you
Hey all,
I'd like some help to settle an internal debate.
Is it bad form to *NOT* call bundleContext.ungetService() from a service
tracker?
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect
*Liferay, Inc.* http://www.liferay.com
… but remember,
as a consumer you don’t know if the provider is a singleton or a factory,
it’s an implementation detail of the provider. So it’s better to do the
right thing all the time.
Neil
On 27 August 2014 at 01:09:26, Raymond Auge (raymond.a...@liferay.com)
wrote:
What about if I'm in a STC
Is there a provision or mechanism in ReqCap which might enforce uniqueness?
One scenario for this is different versions of bundles requiring different
DB schema of the same DB tables.
We have modules which build/upgrade their schema on demand when new
versions are installed.. but this breaks the
singletons, which equate to the osgi.identity capability
namespace, there is no notion of a capability singleton.
Tom
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:09/24/2014 09:55 AM
Subject:[osgi-dev
PM, Raymond Auge raymond.a...@liferay.com
wrote:
Oh man... singleton bundle... wow totally missed that one. Glad I wasn't
writing the osgi cert at that moment.
So yes this solves part of the model.
The other part is to preventing a bundle requiring an older version of a
schema from
How do changes to enums affect versioning?
I believe, theoretically, adding values to be binary compatible, and should
therefore constitute a MINOR api change.
Just making sure since this is not mentioned in the semver white paper.
--
*Raymond Augé*
-dev-boun...@mail.osgi.org
--
On 9/25/14 09:41 , Raymond Auge wrote:
Artifacts as API is a giant kludge.
Furthermore adding/removing capabilities to/from the system is not
specific to this use case, it could be used for a great many things.
Perhaps there's
I believe the answer is no... but
Is it possible to list out all the trackers in the registry?
Particularly, given a type, is it possible to find who might be interested
in it?
I'm thinking along the lines of a DTO which might report this info.
The goal is to observe as a developer the
: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2014/09/30 15:45
Subject:[osgi-dev] track trackers?
Sent by:osgi-dev-boun...@mail.osgi.org
Is it fair to say that, within a ServiceTracker I can safely replace:
S s = bundle.getService(servlceReference);
with
ServiceObjectsS so = bundle.getServiceObjects(serviceReference);
S s = so.getService();
which would mean that only where a bundle implemented more than one such
tracker could
...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2014/10/17 15:16
Subject:[osgi-dev] prototype scope and service trackers
Sent by:osgi-dev
Hey All,
I'm wondering about modelling an extender pattern using requirements
capabilities header.
Hopefully I can explain this in a way that can be understood:
In order to implement the extender pattern we often define a new custom
header which declares the opt-in on the extender.
However,
;;
jsp.taglib.file=/META-INF/cooltags.tld;uses:=.
Regards,
Tim
Sent from my iPhone
On 19 Dec 2014, at 19:38, Raymond Auge raymond.a...@liferay.com wrote:
Hey All,
I'm wondering about modelling an extender pattern using requirements
capabilities header.
Hopefully I can explain
already submitted as a RFC for
R7.
https://github.com/osgi/design/blob/master/rfps/rfp-0167-Manifest-Annotations.pdf
This brings an exciting ease of use to the reqcap model!
- Ray
Regards
Neil
On 19 Dec 2014, at 21:41, Raymond Auge raymond.a...@liferay.com wrote:
On Fri, Dec 19, 2014
Is this the best way to express this:
((version=1.0)(version=2.0)(!(version=2.0)))
There does not appear to be a only a in the filter syntax.
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect *Liferay, Inc.* http://www.liferay.com
* http://www.osgi.org/
*hargr...@us.ibm.com* hargr...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
To:OSGi Developer Mail List osgi-dev@mail.osgi.org
Date:2015/01/16 20:16
Subject:[osgi-dev] filter
On Fri, Jan 16, 2015 at 8:36 PM, Neil Bartlett njbartl...@gmail.com wrote:
(version=1.0)(!(version=2.0))
Right... that's better!
Thx
--
*Raymond Augé* http://www.liferay.com/web/raymond.auge/profile
(@rotty3000)
Senior Software Architect *Liferay, Inc.* http://www.liferay.com
(@Liferay)
, at 16:27, Raymond Auge raymond.a...@liferay.com wrote:
On the topic of @ProvideCapability, I was not able to create
a parameterized annotation such as:
@Retention(RetentionPolicy.CLASS)
@ProvideCapability(
name=jsp.taglib, ns = osgi.extender, version = ${@version}
)
public @interface
a parameterized extensions of @ProviderCapability?
- Ray
On Fri, Dec 19, 2014 at 5:06 PM, Raymond Auge raymond.a...@liferay.com
wrote:
On Fri, Dec 19, 2014 at 1:59 PM, Neil Bartlett njbartl...@gmail.com
wrote:
Incidentally, if you use the latest bnd(tools) development builds, you
can get some
On Tue, Jan 13, 2015 at 10:42 AM, Ferry Huberts maili...@hupie.com wrote:
On 13/01/15 16:27, Raymond Auge wrote:
On the topic of @ProvideCapability, I was not able to create
a parameterized annotation such as:
@Retention(RetentionPolicy.CLASS)
@ProvideCapability(
name=jsp.taglib, ns
To my knowledge what you are speaking of is not intentionally supported by
the dynamics of osgi. This topic comes up all the time, it's funny.
If you must support in flight changes, then you have to implement this
support in your code using concurrency constructs.
Note that unregistering a
isn't a component?
--
*BJ Hargrave*
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the *OSGi Alliance* http://www.osgi.org/
*hargr...@us.ibm.com* hargr...@us.ibm.com
office: +1 386 848 1781
mobile: +1 386 848 3788
From:Raymond Auge raymond.a...@liferay.com
1 - 100 of 281 matches
Mail list logo