Re: [osgi-dev] Help

2016-10-20 Thread BJ Hargrave
Maybe we need an osgi-users list for more general help type questions and osgi-dev can stay more focussed on spec related discussions?   I could create the osgi-users list and intially subscribe everyone on osgi-dev to it. Then people can unsubscribe from either (or both) lists as they see fit.  

Re: [osgi-dev] SATISFIED versus ACTIVE

2016-10-18 Thread BJ Hargrave
If the activate method of a component instance has run, then the component instance is ACTIVE. A non-immediate SATISFIED component instance will generally not have been instantiated or activated given the lazy nature of DS for non-immediate components.   Also, since a component can have multiple

Re: [osgi-dev] SCR: Why do unsatisfied references have target services?

2016-10-17 Thread BJ Hargrave
A reference could require 3 services but only 2 are currently available. So the DTO would hold the 2 currently available.   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     -

Re: [osgi-dev] OSGi enRoute Maven Testers wanted ...

2016-10-11 Thread BJ Hargrave
> Btw. I wonder if we could use a command line option for maven to auto update the runbundles. So you could describe to first run the build with mvn install. It fails and then run again with the option to replace the runbundles. That would be a lot simpler than copy pasting them.  We just added

Re: [osgi-dev] The JPA spec bundle does not work with jpa 2.1

2016-09-16 Thread BJ Hargrave
ying to further restrict the requirement to be “3.0 or bust”, in an effort to exclude bundle C.   Regards,   Tim   On 15 Sep 2016, at 12:17, BJ Hargrave <hargr...@us.ibm.com> wrote:  But they are anded. So version=2.1 is the range[2.1,2.1]. This second range for version<=2.1 is [0,2.1]. So the

Re: [osgi-dev] The JPA spec bundle does not work with jpa 2.1

2016-09-15 Thread BJ Hargrave
lementation.   I appreciate any further insight that others may have!   Regards,   Tim     On 15 Sep 2016, at 11:47, BJ Hargrave <hargr...@us.ibm.com> wrote:  "(&(osgi.contract=JavaJPA)(version=2.1)(version<=2.1))" will only match exactly version 2.1 since the next term is ande

Re: [osgi-dev] The JPA spec bundle does not work with jpa 2.1

2016-09-15 Thread BJ Hargrave
"(&(osgi.contract=JavaJPA)(version=2.1)(version<=2.1))" will only match exactly version 2.1 since the next term is anded.     --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     -

Re: [osgi-dev] R: R: Import in the same Eclipse workspacve bnd projects from different filesystem locations

2016-08-22 Thread BJ Hargrave
Well, all things are possible in programming :-) But as you note, we need fidelity with non-Eclipse usage like gradle, ant, etc. And they cannot depend upon decoding Eclipse metadata (which is not API) to figure out where on the file system all the projects in the bnd workspace are located. How

Re: [osgi-dev] R: Import in the same Eclipse workspacve bnd projects from different filesystem locations

2016-08-22 Thread BJ Hargrave
You can't do that. All the bnd projects must be in the same file system folder as the cnf folder. They all can be in a different folder than the Eclipse workspace folder but you cannot split bnd projects across file system folders.   Remember Bndtools is a set of Eclipse plugins which use Bnd to

Re: [osgi-dev] Rest Management service

2016-08-17 Thread BJ Hargrave
Technically is it *not* the reference implementation for the REST spec. The reference implementation is source code which sits in the OSGi internal git repo. It is likely that the implementation in Concierge derives from the original source code contributed to OSGi for the reference

Re: [osgi-dev] [BndTools] ParentPOMs without jar-file

2016-06-24 Thread BJ Hargrave
Perhaps you should ask this on the bndtools-users mail list? https://github.com/bndtools/bnd#feedback    --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com     - Original message

Re: [osgi-dev] DS 1.3 Configuration Property Types doubt

2016-05-31 Thread BJ Hargrave
butes values, don't you think? regards,Seth  On 31/05/2016 16:41, BJ Hargrave wrote: The spec does not support that. The tool (e.g. Bnd) will look for the use of the annotation types as arguments to life cycle methods (e.g. activate). That is how it knows the annotation type is "in use" as a c

Re: [osgi-dev] DS 1.3 Configuration Property Types doubt

2016-05-31 Thread BJ Hargrave
The spec does not support that. The tool (e.g. Bnd) will look for the use of the annotation types as arguments to life cycle methods (e.g. activate). That is how it knows the annotation type is "in use" as a component property type.   Using them also as annotations to the component class to set

Re: [osgi-dev] Clarify usage of ServiceTracker

2016-04-15 Thread BJ Hargrave
res when a service disappears. However, there is NEVER a guarantee that you can still call the service.    Kind regards,   Peter Kriens       On 15 apr. 2016, at 10:45, Michael Lipp <m...@mnl.de> wrote:  BJ Hargrave: The tense of the customizer method name tells you when it is called relati

Re: [osgi-dev] Creating a ServiceFactory without loading the interface class

2016-03-07 Thread BJ Hargrave
If the service publisher imports the package with the advertised service type, then only bundles which either (a) import the same package or (b) do not import the package at all will normally see the service (unless they use getAllServiceReferences or the all option in ServiceTracker). This is to

Re: [osgi-dev] properties of service pre modification

2016-03-04 Thread BJ Hargrave
If you need to know the old service properties, you will have had to save a copy of them.   You don't need an identity map. Just use the ServiceReference as the key.   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1

Re: [osgi-dev] Using DS annotations suitable for felix scr 1.8.2

2016-02-17 Thread BJ Hargrave
Those are not the OSGi DS annotations. Those are bnd-flavored annotations for DS which will be deprecated in a future bnd release.   The OSGi DS 1.2 annotations are in the osgi.cmpn version=5 jar.   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of

Re: [osgi-dev] Declarative disabling of a DS component

2016-02-16 Thread BJ Hargrave
I do not see a mix of concerns here. There is component enablement and there is component satisfaction.   A component must be first be enabled which requires it to live in a bundle which is started and also to have the component description enabled (either via the declaration or the API).   An

Re: [osgi-dev] Declarative disabling of a DS component

2016-02-15 Thread BJ Hargrave
DS is already declarative. What additional declarations are you thinking of? Where would a "deployment' declaration come from? If the deployment declaration disabled a component, how would the component later become enabled? Through API calls? How would the deployer create and deploy deployment

Re: [osgi-dev] OSGI Component Annotation | properties vs property

2015-12-02 Thread BJ Hargrave
properties points to a property file resource in the bundle. property is a key=value pair.   See 112.4.6 in the spec for the full description and examples.   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848

Re: [osgi-dev] Release of Gogo Shell (for Java8) ?

2015-09-29 Thread BJ Hargrave
Good question. Perhaps you should ask in the felix-dev mail list? This mail list, osgi-dev, is for discussions/questions about the OSGi specifications and programming OSGi.   --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance //

Re: [osgi-dev] creating default instances from service factories

2015-08-28 Thread BJ Hargrave
DS does not make configurations. It just uses them. Peter has something in enRoute which makes configurations from a resource in a bundle: https://github.com/osgi/osgi.enroute.bundles/tree/master/osgi.enroute.configurer.simple.provider --BJ HargraveSenior Technical Staff Member, IBM // office:

Re: [osgi-dev] Why new OSGi jars were published with different names at maven central ?

2015-08-18 Thread BJ Hargrave
Yes, the change was intentional. This is the first time that the OSGi Alliance itself released the companion code jars to maven central. We now build the necessary maven metadata as part of the regular OSGi builds thanks to maven support improvements in bnd. As part of this, we regularized the

Re: [osgi-dev] Valid coordinator scenario?

2015-08-04 Thread BJ Hargrave
return the coordination there and I do not need to store it in a thread local.ChristianOn 03.08.2015 23:23, BJ Hargrave wrote: Yes, you need to do something to hold a strong reference to the coordination. But you also need to make sure you always clean up so there is no case where a strong reference

Re: [osgi-dev] Valid coordinator scenario?

2015-08-03 Thread BJ Hargrave
();If the code can be called more than once per thread I would need to use a Stack.Does that make sense?ChristianOn 03.08.2015 22:00, BJ Hargrave wrote: In that code snippet, the call to gc() is stand in for other code which could trigger a gc. And it is also possible that this other code alters

Re: [osgi-dev] Valid coordinator scenario?

2015-08-03 Thread BJ Hargrave
In that code snippet, the call to gc() is stand in for other code which could trigger a gc. And it is also possible that this other code alters the coordination stack (fails the coordination; coordination times out; ...), so the pop() call may not return the coordination began in the first line.

Re: [osgi-dev] Valid coordinator scenario?

2015-07-31 Thread BJ Hargrave
This is why the usage model is begin coordination; try { do something that should be coordinated; } finally { end coordination; } The finally ensures the coordination is not left forever in a thread local. --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow

Re: [osgi-dev] Valid coordinator scenario?

2015-07-31 Thread BJ Hargrave
Yes, just like any other thing held in a threadlocal. --BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com - Original message -From: Carsten Ziegeler cziege...@apache.orgSent by:

Re: [osgi-dev] whiteboard pattern extenders

2015-06-17 Thread BJ Hargrave
extendersDate: Wed, Jun 17, 2015 2:55 PM On Wed, Jun 17, 2015 at 2:44 PM, BJ Hargrave hargr...@us.ibm.com wrote: So this is like DS (an extender) registering Servlet services on behalf of a bundle using DS. Then of course the extender bundle does not care about the servlet package but also

Re: [osgi-dev] whiteboard pattern extenders

2015-06-17 Thread BJ Hargrave
In this case B, the Wicket extender, must import the servlet package since it is making Servlet objects and registering them as Servlet services. It must use the same servlet package as A, the whiteboard impl, in order for A to understand the Servlet services. --BJ HargraveSenior Technical Staff

Re: [osgi-dev] Change service properties using OSGI API

2015-05-20 Thread BJ Hargrave
object in some way. But that party must define the mechanism by which it shares the ServiceRegistration. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Frank Langel fr

Re: [osgi-dev] (Conditional)PermissionAdmin

2015-05-18 Thread BJ Hargrave
] and Authorization [2] based upon the work to date on OSGi EnRoute [3]. [1] https://github.com/osgi/design/blob/master/rfps/rfp-0164-Authentication.pdf [2] https://github.com/osgi/design/blob/master/rfps/rfp-0165-Authorization.pdf [3] http://enroute.osgi.org/ -- BJ Hargrave Senior Technical Staff Member

Re: [osgi-dev] Proposal named pids for ManagedServiceFactory

2015-04-06 Thread BJ Hargrave
From: Raymond Auge raymond.a...@liferay.com On 04/06/2015 03:30 PM, BJ Hargrave wrote: Seem like you just need a convention where you put the human readable/pretty name in a key of the configuration and then you can find it with listConfigurations if you need to. So to be clear, you mean

Re: [osgi-dev] DS bind with ServiceReference

2015-03-30 Thread BJ Hargrave
name endsWith MBean (except for DynamicMBean). And DS is not designed to do that. That is better for a ServiceTracker. ok! not a problem. - Ray On Mon, Mar 30, 2015 at 2:11 PM, BJ Hargrave hargr...@us.ibm.com wrote: From: Raymond Auge raymond.a...@liferay.com Does anyone see why

Re: [osgi-dev] DS bind with ServiceReference

2015-03-30 Thread BJ Hargrave
From: Raymond Auge raymond.a...@liferay.com On Mon, Mar 30, 2015 at 2:41 PM, BJ Hargrave hargr...@us.ibm.com wrote: From: Raymond Auge raymond.a...@liferay.com K, so it can't handled Object (or the anything case)? DS can handle any type a service is registered under including

Re: [osgi-dev] DS bind with ServiceReference

2015-03-30 Thread BJ Hargrave
From: Raymond Auge raymond.a...@liferay.com Does anyone see why this would not be working? @Reference( I'll assume this is the OSGi annotation. cardinality = ReferenceCardinality.MULTIPLE, name = MBean, policy = ReferencePolicy.DYNAMIC, policyOption =

Re: [osgi-dev] Register generic service - bundleContext.registerService(MapInteger, Object.class, .., ..)

2015-03-18 Thread BJ Hargrave
feedback would be appreciated Frank -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 ___ OSGi Developer Mail List osgi-dev@mail.osgi.org https

Re: [osgi-dev] Declarative Services - Idea

2015-03-18 Thread BJ Hargrave
. I think there would not be general consensus on this as it would make the framework quite a bit larger and more complex. Thanks Florian -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386

Re: [osgi-dev] getting a service filtered on my bundleId

2015-03-09 Thread BJ Hargrave
and don't rely on something that varies in each installation. If the service provider is the Servlet Context from a WAB, use the osgi.web.symbolicname property as the provider identifying property. So the consumer can look for target=(osgi.web.symbolicname=my.bsn). -- BJ Hargrave Senior Technical

Re: [osgi-dev] getting a service filtered on my bundleId

2015-03-08 Thread BJ Hargrave
the bundle up so that only a single active extender is controlling each bundle. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 ___ OSGi

Re: [osgi-dev] getting a service filtered on my bundleId

2015-03-08 Thread BJ Hargrave
DS adds a component.name property to each component's properties. You control the component name. So you can find a service with the component.name you control. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848

Re: [osgi-dev] setting contextClassLoader inside library bundles

2015-02-23 Thread BJ Hargrave
consumer should not have to know anything about the service provider including how to provide visibility to its implementation classes. All uses of TCCL are flawed in non-legacy OSGi scenarios. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] How to cleanly update/uninstall bundles

2015-02-13 Thread BJ Hargrave
can know how many servlet requests are in flight and the server can (1) not processes any future requests and (2) wait until all current requests have returned before updating the app. However, any other threads doing things are outside the knowledge of the http server. -- BJ Hargrave Senior

Re: [osgi-dev] Common third-party dependencies exported for usage in other bundles

2015-01-16 Thread BJ Hargrave
is the non-UI engine and bndtools is the Eclipse UI layer around bnd. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Felix Natter fnat...@gmx.net To: osgi-dev

Re: [osgi-dev] filter syntax for version range with exclusive upper bound

2015-01-16 Thread BJ Hargrave
new VersionRange([1.0,2.0)).toFilterString() -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance 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

Re: [osgi-dev] filter syntax for version range with exclusive upper bound

2015-01-16 Thread BJ Hargrave
I mean: run that code and see what the returned string is. You can use the toFilterString() method on VersionRange to compute the proper filter string for any version range. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

Re: [osgi-dev] How to pass Classloader for a Cache component

2014-11-20 Thread BJ Hargrave
If you register the cache as a service using ServiceFactory, then you will know the bundle that gets the service. You can then use that bundle's class loader. This would seem sufficient, or did I not fully understand the problem? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [osgi-dev] How to pass Classloader for a Cache component

2014-11-20 Thread BJ Hargrave
You can return a unique facade to a central cache to each bundle. You can use the facade to collect the bundle's class loader when a key is added to the cache. You use the facade just to know which bundle is interacting with the central cache. -- BJ Hargrave Senior Technical Staff Member, IBM

Re: [osgi-dev] How to pass Classloader for a Cache component

2014-11-20 Thread BJ Hargrave
Yes, but that is a specific limited case. You know that A and B import from DTO and limit their cache contributions to that type. It is not a general case. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781

Re: [osgi-dev] prototype scope and service trackers

2014-10-17 Thread BJ Hargrave
object for a service (if you customize the tracker to use ServiceObjects.) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: OSGi

Re: [osgi-dev] Bundles providing Meta type documents and service

2014-10-06 Thread BJ Hargrave
MetaTypeProvider with a dummy bundle, but that is definitely a hack. Hopefully, your dummy bundle is using the bundle context of the real bundle so that the MetaTypeProvider service appears to be registered by the real bundle. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] Faking DS for classpath libraries

2014-10-02 Thread BJ Hargrave
Your bundle will just be an importer of the packages and using DS to register services. So client bundles of your services need to import the packages from the same source as you: the system bundle. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance

Re: [osgi-dev] Faking DS for classpath libraries

2014-10-01 Thread BJ Hargrave
references the XML. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: chris.g...@kiffer.be To: 'OSGi Developer Mail List' osgi-dev@mail.osgi.org Date: 2014/10/01 15:50

Re: [osgi-dev] cleanup when factory bundles are updated

2014-09-30 Thread BJ Hargrave
the factory service. You could also look at prototype scope services introduced in Core R6 as an alternative to factories (unless you need to parameterize the object creation). -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

Re: [osgi-dev] track trackers?

2014-09-30 Thread BJ Hargrave
/UnfilteredServiceListener.html -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance 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: 2014/09/30 15:45

Re: [osgi-dev] cleanup when factory bundles are updated

2014-09-30 Thread BJ Hargrave
and then try again. But this only works if the code never holds the real object for any length of time and only hold the guard over the long term. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1

Re: [osgi-dev] value objects and api version

2014-09-29 Thread BJ Hargrave
should avoid value objects altogether Value objects are fine but you should probably not specify any behavior on them because they are then more just values. See DTOs in the OSGi spec. For DTOs, we use equals and hashCode from Object. That means, object identity. - other suggestions -- BJ

Re: [osgi-dev] Requirements and Capability uniqueness model?

2014-09-25 Thread BJ Hargrave
From: Richard S. Hall he...@ungoverned.org I would think that for such special use cases, generating a bundle would suffice, since it can easily be done at run time. Why keep adding features for more and more specialized use cases when they can be accomplished already? +1 -- BJ

Re: [osgi-dev] Asking for service.pid.label standard property

2014-08-06 Thread BJ Hargrave
service.pid is unique across all configurations belonging to a factory pid. Why is that not enough? The original email was looking for a label that was human readable for a UI. And service.description would work for that usage. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [osgi-dev] Asking for service.pid.label standard property

2014-08-06 Thread BJ Hargrave
I don't know why the felix scr annotations don't allow service.description and service.vendor since they are not otherwise used by CM or the framework. Perhaps you should ask the felix scr annotation devs? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi

Re: [osgi-dev] Asking for service.pid.label standard property

2014-08-05 Thread BJ Hargrave
Why isn't this just service.description? It's value can certainly be unique for every registered service and tools can display it (or some abbreviation if long). I am not sure I see the need for another human readable label on a service registration. -- BJ Hargrave Senior Technical Staff

Re: [osgi-dev] cooperation between optional bundles

2014-06-05 Thread BJ Hargrave
Conceptually yes. But in the specific example, the queueTask method impl would need to do the wrapping since it know what thread's threadlocals to use. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile

Re: [osgi-dev] Handling Optional Dependencies

2014-03-20 Thread BJ Hargrave
package is present. But the log package does not appear in your API. That is, you have an implementation dependency on log not an API signature dependency on log. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781

Re: [osgi-dev] use of classes java1.4 in APIs?

2014-03-17 Thread BJ Hargrave
java vendors) keep their embedded offering up to date with Java SE, then OSGi will be able to move forward on an ongoing basis. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] use of classes java1.4 in APIs?

2014-03-14 Thread BJ Hargrave
(and later) build environments since Java SE 1.7 javac ceased to recognize -target jsr14 class files. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] comments on async rfc: async call semantics

2014-03-13 Thread BJ Hargrave
As requested in the RFC (section 0.3) and the OSGi design git hub repo README (https://github.com/osgi/design#feedback), please provide any comments on an RFC in the form of a bug at https://www.osgi.org/bugzilla/enter_bug.cgi?product=OSGi%20Specification. Thanks, -- BJ Hargrave Senior

Re: [osgi-dev] Declarative Services and references with configurable cardinality

2014-02-26 Thread BJ Hargrave
bind method for all the references. Otherwise you can write 3 different bind methods and annotate each. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: BJ Hargrave/Austin

Re: [osgi-dev] Adding more monitoring capabilities to Declarative Services

2014-01-15 Thread BJ Hargrave
I renamed the wiki page to http://wiki.osgi.org/wiki/RFCs and updated the README.md in the design repo to refer to that page. When and RFPs wiki page is created, I'll update the README.md again. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] Adding more monitoring capabilities to Declarative Services

2014-01-15 Thread BJ Hargrave
Thanks. I updated the design repo readme to reference the RFPs page also. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Tim Verbelen tim.verbe...@intec.ugent.be

Re: [osgi-dev] Adding more monitoring capabilities to Declarative Services

2014-01-14 Thread BJ Hargrave
it in a POJO manner (and not even using the DS API directly). -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Balázs Zsoldos balazs.zsol...@everit.biz To: OSGi Developer Mail List

Re: [osgi-dev] Adding more monitoring capabilities to Declarative Services

2014-01-14 Thread BJ Hargrave
making commits to use helpful commit messages. Unfortunately, not every commit has a useful commit message. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] Adding more monitoring capabilities to Declarative Services

2014-01-14 Thread BJ Hargrave
, no volunteers... We have the same problem internally in OSGi. :-) We have an internal wiki which we use to hold the list of documents, but it is frequently out of date for these reasons. We just learned to accept it given the many OSGi members contributing documents. -- BJ Hargrave Senior

Re: [osgi-dev] heavy synchronization of ServiceTracker impls

2014-01-14 Thread BJ Hargrave
with the performance characteristics you need. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 ___ OSGi Developer Mail List osgi-dev

Re: [osgi-dev] heavy synchronization of ServiceTracker impls

2014-01-14 Thread BJ Hargrave
by using your own customizer/subclass to use your own collection to hold the tracked objects with even better performance for your needs. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] heavy synchronization of ServiceTracker impls

2014-01-14 Thread BJ Hargrave
of a performance problem in normal real world use. And besides, people should be using DS anyway! :-) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] Unregistering specific instances of ServiceFactory

2014-01-10 Thread BJ Hargrave
You cannot do this. When you unregister the service, all service objects are released. You don't unregister service instances; you unregister the entire service registration. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

Re: [osgi-dev] [DS] Component Factory instance lifecycle/dynamic references

2014-01-10 Thread BJ Hargrave
I am sorry, but I don't understand what you are trying to explain. Perhaps you can explain with some more concrete examples? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From

Re: [osgi-dev] Declarative Services and Conditional permission Admin

2013-12-03 Thread BJ Hargrave
a permissions change listener would not provide useful information. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: pierre.r...@orange.com To: OSGi Developer Mail List osgi

Re: [osgi-dev] questions about the bundle class search order

2013-11-26 Thread BJ Hargrave
Yes. The point is that the package is a complete unit when it is exported or imported. So, in this case, when it does not contain the requested type, you must stop searching as you have a failure to locate the type. This avoids the split package problem. -- BJ Hargrave Senior Technical Staff

Re: [osgi-dev] Defining binding order for servises with DS

2013-11-04 Thread BJ Hargrave
Peter means it is in the order of the name elements of the @Reference annotations. So you can control the order by setting the name element to values which will sort in your desired order. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] Defining binding order for servises with DS

2013-10-29 Thread BJ Hargrave
However, if you are using DS annotations rather than writing the XML file yourself, then you have no controls over the order of reference elements bnd will write to the generated XML file. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] Defining binding order for servises with DS

2013-10-29 Thread BJ Hargrave
the log information and then, when the log object is injected, dump the buffer to the log object. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Ewgenij Sokolovski ewgenij

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread BJ Hargrave
their function. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Thomas Watson/Austin/IBM@IBMUS To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date: 2013/10/28 09:17 Subject

Re: [osgi-dev] service from extension bundle?

2013-10-28 Thread BJ Hargrave
on that for 6+ ;) Correct if you want the OSGi standard way. For now, there are implementation specific ways to do this. I believe both Felix and Equinox has implementation specific headers you can use to name an activator class for a framework extension. -- BJ Hargrave Senior Technical Staff

Re: [osgi-dev] service from extension bundle?

2013-10-27 Thread BJ Hargrave
-ExtensionBundleActivators.pdf -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance 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

Re: [osgi-dev] Diagnostics for extender based technologies like blueprint, ds or spring dm

2013-10-09 Thread BJ Hargrave
the status of any entities in a bundle managed by the extender could be useful. (It is not clear that all extender models can be supported by a single service design given the many extenders and their varying features.) -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] RFC 204 - Framework Extension Activators doubt

2013-10-03 Thread BJ Hargrave
Implementing resolver hooks, service hooks, etc for the Subsystems specification. You need to make sure the hook implementations are operating before normal bundles to ensure the proper isolation is in place. Most developers should not be implementing framework extensions. -- BJ Hargrave

Re: [osgi-dev] RFC 204 - Framework Extension Activators doubt

2013-10-03 Thread BJ Hargrave
No. BundleTracker will add all bundles matching the tracker criteria even if those bundles reached the criteria before the tracker was started. So you do not need to make sure your extender is started before your extendees. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] Refresh bundle via config.ini

2013-09-25 Thread BJ Hargrave
config.ini is an Equinox specific thing. You need to ask in the Equinox forum http://www.eclipse.org/forums/index.php/f/31/ -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From

Re: [osgi-dev] Component factory and declarative services

2013-09-24 Thread BJ Hargrave
on utilizing factories versus services, but I can't quite see where the problem is. Any guidance is appreciated. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788

Re: [osgi-dev] namespace for DS osgi.extender capability?

2013-09-23 Thread BJ Hargrave
(not osgi.bp :-). -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Neil Bartlett njbartl...@gmail.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date: 2013/09/23 09:26

Re: [osgi-dev] namespace for DS osgi.extender capability?

2013-09-23 Thread BJ Hargrave
Sure. An implementation can do that. But the spec will not mention osgi.ds. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Christian Schneider ch...@die-schneider.net

Re: [osgi-dev] namespace for DS osgi.extender capability?

2013-09-21 Thread BJ Hargrave
See https://github.com/osgi/design/blob/master/rfcs/rfc0190/rfc-0190-Declarative_Services_Enhancements.pdf for the current design doc. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848

Re: [osgi-dev] ServiceTrackers and blocking during refresh

2013-09-19 Thread BJ Hargrave
items can be dequeued to the channel. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Daniel McGreal dan...@redbite.com To: osgi-dev@mail.osgi.org Date: 2013/09/19 12

Re: [osgi-dev] Fabric Service Model - Request for feedback

2013-09-10 Thread BJ Hargrave
. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Thomas Diesler thomas.dies...@jboss.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date: 2013/09/10 07:01

Re: [osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread BJ Hargrave
Assuming that many bundles could register IRemoteServiceProvider services, how could Blueprint know when all of them have been registered? Some of these bundles may not have even been started yet. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] How to delay initialization of osgi:list ?

2013-09-03 Thread BJ Hargrave
No. You should just handle the dynamics. reference-list is updated as the services change. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Soniya Chavan soniya_cha

Re: [osgi-dev] Declarative services: setting a non string property

2013-08-31 Thread BJ Hargrave
It is not possible with DS. You cannot set property values to arbitrary types. It is also not a good idea to put arbitrary typed values in service properties since observers wont necessarily have access to those types or the correct version of those types. -- BJ Hargrave Senior Technical

Re: [osgi-dev] marking private packages

2013-08-09 Thread BJ Hargrave
If a package is not exported, it is private. So there is no marking them private. Just don't export them. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge

Re: [osgi-dev] marking private packages

2013-08-09 Thread BJ Hargrave
x-internal *was* an Equinox thing. In Luna it is ignored. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance 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

<    1   2   3   4   >