Re: [osgi-dev] next early draft doc ?

2013-07-25 Thread BJ Hargrave
want to make comments, you can open a bug in the OSGi public bugzilla system at https://www.osgi.org/bugzilla. -- 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: Cristiano

Re: [osgi-dev] tracking by annotations

2013-06-27 Thread BJ Hargrave
Well the type of the referenced service can be inferred from the argument to the method annotated with @Reference. -- 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

Re: [osgi-dev] tracking by annotations

2013-06-27 Thread BJ Hargrave
property. -- 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/06/27 15

Re: [osgi-dev] targeting different HttpServices (RFC189)

2013-06-27 Thread BJ Hargrave
Mike, Could you open a bug at https://www.osgi.org/bugzilla/enter_bug.cgi?product=Document%20Feedback with your comments? Thanks, -- 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] Definition of service ranking order in R4 and R5 specs

2013-06-20 Thread BJ Hargrave
a preference to the earlier registrant. Should this be changed in the Spec? Yes. I'll open a bug and fix the spec text for the next release and publish an errata. Thanks for the eagle eyes! -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] Bundle's update(InputStream input), and String getLocation() methods.

2013-06-18 Thread BJ Hargrave
remains installed. This persistence is important for other bundles which may manage data for a bundle based upon its location. For example, see Conditional Permission Admin and Permission Admin. Also Preferences Service. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] pattern in the BundleWiring.listResources() ?

2013-04-24 Thread BJ Hargrave
#listResources(java.lang.String,%20java.lang.String,%20int) -- 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

Re: [osgi-dev] recording bundle start/shutdown

2013-04-23 Thread BJ Hargrave
is launched. -- 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: Scott Lewis sle...@composent.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date: 2013/04/23 15

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-15 Thread BJ Hargrave
there is consensus across all spec consumers of your opinion. And the aries versioning tool is free to do what it wishes. Finally, the number of people who believe a thing does not make that thing true. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-15 Thread BJ Hargrave
annotations dictate consumer type. The easiest way to enforce this would be to declare it on our annotation(s) so that developers only need to apply the one annotation, not both. The other way we have is to add a compilation check ourselves that validates that the rule is not broken. -- BJ

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-14 Thread BJ Hargrave
tools. Yes. Tools can only analyze syntactic changes to find semantic differences. Other (non-syntactic) semantic changes need humans to participate in the version change decision. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-14 Thread BJ Hargrave
. If you want your tool to understand that @MyCustomAnnotation also implies @ProviderType, then that is something you need to work out with the tool supplier. Or are you suggesting that OSGi define a meta-annotation so that your definition of @MyCustomAnnotation is marked with @ProviderType? -- BJ

Re: [osgi-dev] Interpretation of semantic versioning?

2013-04-13 Thread BJ Hargrave
the safest case which is to assume the type is @ConsumerType. This results in the most conservative versioning. I think the Aries versioning tool is wrong here by assuming @ProviderType. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com

Re: [osgi-dev] OSGi Http Service Spec improvement ?

2013-03-07 Thread BJ Hargrave
Yes, there is an update planned. There should be an early access draft including the proposed HttpService changes released soon for comment. -- 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] question on xml factories

2013-02-26 Thread BJ Hargrave
for information about the implementation in Apache Aries. You just need the Service Provider part (register OSGi services based upon META-INF/services information) and not the service consumer part since, I assume, you will just use them as OSGi services. -- BJ Hargrave Senior Technical Staff Member

Re: [osgi-dev] question on xml factories

2013-02-25 Thread BJ Hargrave
yourself as services. -- 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] ConditionalPermissionAdmin and Principal permission

2013-02-18 Thread BJ Hargrave
Yes. Put your example on wiki.osgi.org. -- 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: Karl Pauls karlpa...@gmail.com To: OSGi Developer Mail List osgi-dev

Re: [osgi-dev] security service providers?

2013-02-18 Thread BJ Hargrave
I suspect this must be managed externally to OSGi since it must be configured in the lib/security/java.security properties file before the JVM is started. So I would think you will need to edit that file and place the provider jar on the bootclasspath. -- BJ Hargrave Senior Technical Staff

Re: [osgi-dev] Bndtools 2.0 released!

2013-02-11 Thread BJ Hargrave
not get discarded. -- 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: Ferry Huberts maili...@hupie.com To: osgi-dev@mail.osgi.org, Date: 2013/02/11 15:17 Subject

Re: [osgi-dev] Getting configurations from the ConfigAdmin

2013-02-11 Thread BJ Hargrave
configuration object in the second piece of code. -- 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] What to do with inherited dependencies

2013-01-30 Thread BJ Hargrave
. But to stretch the discussion even a bit further ;-), even if it would, and it accesses those methods through B, why exposing a dependency to C at all? (again, in plain Java src code I wouldn't even be aware of C, I would just be using/referring objects of class B) -- BJ Hargrave Senior

Re: [osgi-dev] Fwd: Branching, versioning and API changes

2013-01-28 Thread BJ Hargrave
. This consumes the version number. You can only ever backport the whole, completed version of a package. -- 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: Henning Andersen

Re: [osgi-dev] Fwd: Branching, versioning and API changes

2013-01-25 Thread BJ Hargrave
, consider backporting to the maint branch(es). You need a linear history of the package evolution. -- 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: Henning Andersen andersens

Re: [osgi-dev] What's the best way to deal with split packages?

2013-01-22 Thread BJ Hargrave
I updated http://wiki.osgi.org/wiki/Split_Packages with this example. -- 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

Re: [osgi-dev] API consumer vs provider

2013-01-16 Thread BJ Hargrave
this interface for @noimplement marked interfaces. In the html javadoc, you will see Consumers of this API must not implement this interface for @noimplement marked interfaces. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386

Re: [osgi-dev] best pattern for instance factories

2012-12-19 Thread BJ Hargrave
also includes updated to DS and Blueprint to allows easy use of the new feature. But this does not help you now... :-( -- 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] Obtaining HTTP host and port from HttpService

2012-12-05 Thread BJ Hargrave
I think this is being addressed by RFC 189 which is under discussion. -- 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

Re: [osgi-dev] [metatype] AttributeDefinition.required not exposed?

2012-10-24 Thread BJ Hargrave
I'm not sure why. Perhaps you can open a bug so this can be looked into for a future release of the Metatype spec? -- 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: Jan

Re: [osgi-dev] JavaEE Contracts

2012-10-13 Thread BJ Hargrave
. For Java 8, OSGi will need to define execution environment names for any such specified profiles. -- 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] DS road map?

2012-09-16 Thread BJ Hargrave
Those are osgi internal bugs used by the osgi expert groups to track issues. But the rfp document should have enough information to stand alone. 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] custom properties for a DS / ComponentFactory? (was : 112.2.4 Factory Component: The service properties of the Component Factory service must not include the component properties)

2012-09-16 Thread BJ Hargrave
and use cases including why you cannot do what you want with the current spec. Also remember this has to fit into the existing service model or we will have to make changes to the service model which requires the net gain from the solution to be worth the work. cheers, Andrei. -- BJ Hargrave

Re: [osgi-dev] custom properties for a DS / ComponentFactory? (was : 112.2.4 Factory Component: The service properties of the Component Factory service must not include the component properties)

2012-09-16 Thread BJ Hargrave
code. ok! well, I can not say I am going to avoid your specs :-) Of course not since it is the point of the discussion: changing the spec. -- 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] About versions

2012-09-13 Thread BJ Hargrave
without calling some VersionRange implementation in the bundle which does not yet have a class loader? -- 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: 向雅 fya...@gmail.com

Re: [osgi-dev] About versions

2012-09-13 Thread BJ Hargrave
I think I know understand your request. But I strongly disagree with it and would object to changing the spec away from a well defined and declarative versioning scheme. Jigsaw desires to have this cake and eat it too. I fail to see how this can work at scale. -- BJ Hargrave Senior

Re: [osgi-dev] About namespace paragraph in ch3.3

2012-09-13 Thread BJ Hargrave
I don't understand your question. Is there a defect in the spec? Can you provide more precise details on where you think the defect is? -- 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] DS road map?

2012-09-13 Thread BJ Hargrave
We don't have a long term road map. But we do have a requirements document suggesting new features. See https://www.osgi.org/bugzilla/show_bug.cgi?id=147 -- 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] Exported packages are not auto-magically imported

2012-07-10 Thread BJ Hargrave
Perhaps you meant to send this to bndtools-us...@googlegroups.com? -- 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: Guillaume Sauthier (OW2) guillaume.sauth...@ow2.org

Re: Re[2]: [osgi-dev] Q of Bundle.start(int) process

2012-07-09 Thread BJ Hargrave
It is certainly a failure from the current thread (that is, the thread which is activating the bundle). It can succeed from another thread if the framework impl is willing to wait a while to see if the current state change operation completes. -- BJ Hargrave Senior Technical Staff Member

Re: [osgi-dev] OSGi Core and Enterprise R5 jars for Maven

2012-06-14 Thread BJ Hargrave
-dev] OSGi Core and Enterprise R5 jars for Maven Sent by:osgi-dev-boun...@mail.osgi.org Maven doesn't care about this, but some IDEs will, I guess. On 06/13/2012 08:58 PM, BJ Hargrave wrote: The javadoc jars do not have the javadoc in the root of the JAR (e.g. it is in core/ folder

Re: [osgi-dev] OSGi Core and Enterprise R5 jars for Maven

2012-06-14 Thread BJ Hargrave
I don't use maven myself, so I don't have a personal dog in the hunt. Just trying to make sure the javadoc actually works for people. If you can just use the web links, do that. But I am pretty sure Peter said maven central insists on javadoc jars. -- BJ Hargrave Senior Technical Staff

Re: [osgi-dev] OSGi Core r4.3, Dictionary and API breaks

2012-06-14 Thread BJ Hargrave
. For example see to new Resource and Bundle Wiring API which all use Map. -- 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: Ancoron Luciferis ancoron.lucife...@googlemail.com

Re: [osgi-dev] Will org.osgi.service.event.Event become serializable ?

2012-06-13 Thread BJ Hargrave
There is no plan to make Event implement Serializable. The spec allows any object type in an Event including non-serializable types. -- 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] OSGi Core and Enterprise R5 jars for Maven

2012-06-13 Thread BJ Hargrave
The javadoc jars do not have the javadoc in the root of the JAR (e.g. it is in core/ folder for core javadoc jar, enterprise/ folder for enterprise javadoc jar). Is this OK for maven? -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr

Re: [osgi-dev] What if a bundle failed to start?

2012-06-10 Thread BJ Hargrave
It should have no impact on starting other bundle. But the other bundles may depend upon services of the failed bundle which are not present. -- 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: Re[2]: [osgi-dev] Question of Export Package

2012-06-04 Thread BJ Hargrave
A bundle can only export a package if it is resolved. So unless Bundle A's dependencies can be met, it cannot be resolved and thus cannot export any packages. -- 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] What is OSGi bundle profiling going on?

2012-05-31 Thread BJ Hargrave
MIDP applications of JSR 121 isolates. With such isolation, it is much easier to account for resource usage. But still somewhat difficult to take definitive action. -- 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] Blueprint schema blocks nested static class names

2012-05-14 Thread BJ Hargrave
time). You can just modify the implementation to support inner class names in 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: Sergey Beryozkin sberyoz...@gmail.com

Re: [osgi-dev] Blueprint schema blocks nested static class names

2012-05-14 Thread BJ Hargrave
I don't think you need a naming convention. For a.b.C.D.E, you try to load a.b.C.D.E, then a.b.C.D$E, then a.b.C$D$E and so on until you find a class or nothing. Basically do whatever javac or javap do to locate the class. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] OSGI cmpn and enterprise jars

2012-05-08 Thread BJ Hargrave
the API for the complete content of the specification. You are free to repackage the API as you see fit. -- 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

Re: [osgi-dev] OSGI cmpn and enterprise jars

2012-05-08 Thread BJ Hargrave
the bundle to only import the packages you use. Those packages are then supplied at runtime by the implementation bundles (which may want to additionally decorate the exports). -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1

Re: [osgi-dev] Services from a Fragment Bundle

2012-01-27 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: Carl Hall c...@hallwaytech.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org, Date: 2012/01/27 10:37 Subject

Re: [osgi-dev] Services from a Fragment Bundle

2012-01-27 Thread BJ Hargrave
is not to be searched. -- 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: Justin Edelson jus...@justinedelson.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org, Date: 2012/01/27

Re: [osgi-dev] CPU Measurement on a Bundle

2012-01-27 Thread BJ Hargrave
A bundle is a collection of classes which are collections of methods. If you can instrument and measure the CPU time spent by methods, you can then process that data since each method belongs to a class and each class to a bundle. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [osgi-dev] Re: Bundle ActivationPolicy question

2012-01-11 Thread BJ Hargrave
. But lazy activation is really an attempt to solve some performance issues. It is better to avoid lazy activation until there is a demonstrated performance issue that lazy activation can be demonstrated to improve. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi

Re: [osgi-dev] Question about Memory Usage per Bundle

2011-11-21 Thread BJ Hargrave
a rational assignment of ownership of the 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 ___ OSGi Developer Mail List osgi-dev

Re: [osgi-dev] Question about Memory Usage per Bundle

2011-11-17 Thread BJ Hargrave
this memory belong? A bundle is a unit of encapsulation and classloader isolation but it is not a unit of memory isolation. From a memory perspective, bundles are very intertwined and it is extremely hard to try and disentangle them. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [osgi-dev] please remove me from the mailing list. eom

2011-11-02 Thread BJ Hargrave
Use the link at the bottom of the email to unsubscribe yourself. https://mail.osgi.org/mailman/listinfo/osgi-dev -- 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: Dinesh

Re: [osgi-dev] Logging Patterns

2011-10-11 Thread BJ Hargrave
? When we talk about avoiding OSGi API in your code, we mean the OSGi framework (the container) API. You should feel free to use OSGi Service API as needed to get the function you need. For example Event Admin, Log Services. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] [DS] Character Properties

2011-09-06 Thread BJ Hargrave
Yes, it does seem odd that the value attribute or the element body is not use as a String and the 1st character used as the value. Why don't you open a bug? -- 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] BundleEvent and others extend EventObject even though they aren't serializable

2011-08-04 Thread BJ Hargrave
to declare the event classes not serializable as far as I know. And we cannot really go back now and remove the base class. Sorry. -- 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] BundleEvent and others extend EventObjecteven though they aren't serializable

2011-08-04 Thread BJ Hargrave
Is there a notserializable javadoc tag? :-) -- 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: david.humen...@l-3com.com To: OSGi Developer Mail List osgi-dev

Re: [osgi-dev] R4.3 R4.2 Core Framework

2011-07-06 Thread BJ Hargrave
not yet completed and/or is not yet available as a released version. -- 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: Ikuo Yamasaki yamasaki.i...@lab.ntt.co.jp To: OSGi

Re: [osgi-dev] Q on Bundle#uninstall()

2011-06-21 Thread BJ Hargrave
Yes. If the state change lock acquire times out, then the state cant be changes and the bundle will not have been uninstalled. -- 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] ZK Web Application Framework with OSGi

2011-06-07 Thread BJ Hargrave
Have considered implementing your own HttpContext object? You can then do whatever custom lookup mechanism you want. -- 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] Spec: DS factory component activation

2011-06-04 Thread BJ Hargrave
behavior is specified. To specify how the DS impl must achieves that is over specification. -- 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] Spec: DS factory component activation

2011-06-03 Thread BJ Hargrave
there is no opportunity for laziness, activation before registration makes sense. -- 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 Faber m...@daniel-faber.de To: osgi-dev

Re: [osgi-dev] Q on Bundle#uninstall()

2011-05-26 Thread BJ Hargrave
No. If stop completes with an exception, uninstall can still proceed. Uninstall can fail if the state change lock is held by another thread and that thread does not release the lock in some reasonable time. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi

Re: [osgi-dev] Q on Bundle#uninstall()

2011-05-26 Thread BJ Hargrave
, but uninstall still completes normally. Only if the state change lock cannot be obtained in a reasonable time, will uninstall terminate with an exception. So case 1 never happens during uninstall since uninstall does not call stop. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow

Re: [osgi-dev] Declarative Services and Configuration

2011-05-20 Thread BJ Hargrave
reference to supply to the plugins. ConfigurationPlugins are only specified to apply to Configuration delivery to MS/MSF. But there is no requirement that bundles get their configuration that way. They are free to get it directly. ConfigurationPlugins was just a bad idea. -- BJ Hargrave Senior

[osgi-dev] OSGi Community Event September 20-21, 2011 - Call for Presentations

2011-05-18 Thread BJ Hargrave
OSGi Alliance Community Event 2011 CALL FOR PRESENTATIONS The OSGi Alliance is pleased to announce the next OSGi Alliance Community Event that will take place September 20 and 21, 2011 in Darmstadt, Germany and be hosted by Deutsche Telekom, SAP AG, and Software AG. This year the focus will

Re: [osgi-dev] Re: Q on PackageAdmin#refreshPackages()

2011-05-09 Thread BJ Hargrave
of the remaining steps. --- Why does the event have to fired at the end? It could be fired immediately. -- 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] Re: Q on PackageAdmin#refreshPackages()

2011-05-07 Thread BJ Hargrave
the bundle to the RESOLVED state. -- 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: Ikuo Yamasaki yamasaki.i...@lab.ntt.co.jp To: OSGi Developer Mail List osgi-dev

Re: [osgi-dev] Wikipedia OSGi spec page updated to Core 4.3

2011-05-04 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: David Bosschaert david.bosscha...@gmail.com To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date: 2011/05/03 17:18

Re: [osgi-dev] Question of HttpService Spec

2011-03-27 Thread BJ Hargrave
Go ahead and open a bug. -- 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: Ikuo Yamasaki yamasaki.i...@lab.ntt.co.jp To: OSGi Developer Mail List osgi-dev@mail.osgi.org

Re: [osgi-dev] Question of HttpService Spec

2011-03-25 Thread BJ Hargrave
impl bundles be granted AllPermission or must wrap calls to servlets and HttpContexts in a doPriv, then the servlet and HttpContext must perform the doPriv if necessary. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1

Re: [osgi-dev] Question of HttpService Spec

2011-03-24 Thread BJ Hargrave
, (b) is not correct and (a) is partially correct. Servlet B *must* use doPrivilege to exercise some permission it has been granted. But I fail to see why bundle H captures the ACC and asserts it when calling Servlet B. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: Re[2]: [osgi-dev] Question of HttpService Spec

2011-03-23 Thread BJ Hargrave
but there is an error in HttpService impl because it fails to doPriv to exercise that permission. -- 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] Question of HttpService Spec

2011-03-23 Thread BJ Hargrave
Let me clarify whether each OSS impls have a bug or not. - Equinox: obviously Bug (we will report a bug Tom). - Felix and Knopflerfish: Bug or not ? I don't think there is a bug in those. They did not throw an improper exception. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi

Re: [osgi-dev] Classloader accessibility and ServiceTracker.open(true)

2011-02-22 Thread BJ Hargrave
Did you look at the example code I put on github? The dummy bundle (bundleProxy in the example) can be completely empty. It just needs to be started to have a bundle context with which the proxy services are registered. You can also stop the bundle to unregister all the proxies. -- BJ

Re: [osgi-dev] Classloader accessibility and ServiceTracker.open(true)

2011-02-22 Thread BJ Hargrave
by a different bundle than the one whose context is used to register the service) is fairly recent so depending upon it will require more recent framework versions. -- 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] Classloader accessibility and ServiceTracker.open(true)

2011-02-22 Thread BJ Hargrave
of the proxied services. -- 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] Classloader accessibility and ServiceTracker.open(true)

2011-02-21 Thread BJ Hargrave
to register the service and bundleB's ServiceTracker will see the service. So you should add a bundle which is used as the host of all the proxied services. This bundle can be completely empty. I have confirmed this with a test case. See git://github.com/bjhargrave/ServiceProxying.git -- BJ

Re: [osgi-dev] Classloader accessibility and ServiceTracker.open(true)

2011-02-20 Thread BJ Hargrave
/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/ eclipse/ecf/osgi/services/remoteserviceadmin/RemoteServiceAdmin.java -- 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] Classloader accessibility and ServiceTracker.open(true)

2011-02-20 Thread BJ Hargrave
. Thanks, Scott -- 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://mail.osgi.org

Re: [osgi-dev] Classloader accessibility and ServiceTracker.open(true)

2011-02-20 Thread BJ Hargrave
context to register the service. The actual work can be done by your bundle. Make sure to properly uninstall this bundle when no longer necessary. There can be many of these bundles for different service types. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi

Re: [osgi-dev] Classloader accessibility and ServiceTracker.open(true)

2011-02-20 Thread BJ Hargrave
have visibility to the same type. -- 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] EventHook flawed?

2011-02-13 Thread BJ Hargrave
In Core 4.3 we add EventListenerHook which replaces EventHook. It will let you filter at the listener level. This is currently implemented in the Equinox 3.7 builds if you wish to experiment with it. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance

Re: [osgi-dev] Q on Bundle#uninstall()

2011-02-07 Thread BJ Hargrave
Even if BundleActivator.stop throws an exception, then bundle will still be uninstalled. -- 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: Ikuo Yamasaki yamasaki.i

Re: [osgi-dev] ServiceFactory vs. exceptions

2011-01-26 Thread BJ Hargrave
of the ServiceException. In both cases, BundleContext.getService will return null to the caller. The caller will not be thrown an exception. So I would let the exception propagate from the factory and let the framework handle it. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] ServiceFactory vs. exceptions

2011-01-26 Thread BJ Hargrave
Sure. We can update ServiceFactory.getService javadoc to add information on the fired FrameworkEvents. It already states that null is returned to the caller. -- 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] Problem with Declarative Services and Filtering

2011-01-19 Thread BJ Hargrave
So if you remove target=(TECHNOLOGY_HA=ZIGBEE) from the first XML file, that component gets the proper ManagerService? -- 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] [DS] Improve handling of references with cardinality multiplicity

2011-01-14 Thread BJ Hargrave
Why not just store them in a SortedSet? You can use whatever Comparator you like. bind and unbind are then very easy to implement. Sorting the references is rather a policy decision for the bundle. This change does not seem to add any real value. -- BJ Hargrave Senior Technical Staff Member

Re: [osgi-dev] Filter matching local and remote services

2011-01-11 Thread BJ Hargrave
at the moment, is this possible? This is probably more that an ldap filter can handle. You will have to ask for more than you want and then use some code to do a second pass to discard the duplicates. Thanks! Martin -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO

Re: [osgi-dev] OSGi Dev Planet?

2010-12-08 Thread BJ Hargrave
feed on a web page without having to have local feedreader software. [1] http://blog.bjhargrave.com/2010/12/pipes-are-calling.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

Re: [osgi-dev] How could you implement asm byte code patching of bundles?

2010-12-08 Thread BJ Hargrave
for the announcement of availability of the draft. :-) -- 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: Lindsay Smith lin...@coretech.co.nz To: osgi-dev@mail.osgi.org osgi

Re: [osgi-dev] OSGi Dev Planet?

2010-12-07 Thread BJ Hargrave
I added your feed to my yahoo pipes feed. Blogger feeds can also be customized for a specific tag. See http://www.google.com/support/blogger/bin/answer.py?hl=enanswer=97933 -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office

Re: [osgi-dev] OSGi on Android?

2010-12-07 Thread BJ Hargrave
I assume you tried http://www.google.com/search?hl=q=osgi+android and read through the results? -- 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: hwaldschm...@iset.uni

Re: [osgi-dev] OSGi Dev Planet?

2010-12-07 Thread BJ Hargrave
OK, the official Planet OSGi feed is now available at http://www.osigi.org/Planet/Feed. Subscribe and read... -- 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

Re: [osgi-dev] OSGi Dev Planet?

2010-12-07 Thread BJ Hargrave
Wow. That is pretty sad :-) Let me try again: http://www.osgi.org/Planet/Feed -- 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: Richard S. Hall he...@ungoverned.org

Re: [osgi-dev] OSGi Dev Planet?

2010-12-06 Thread BJ Hargrave
. And we can add more feeds... :-) -- 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/i...@ibmus To: OSGi Developer Mail List osgi-dev@mail.osgi.org Date

<    1   2   3   4   >