Re: [osgi-dev] enRoute Tutorial Maven Repositories

2017-12-15 Thread Timothy Ward via osgi-dev
the tutorial is unworkable I can then ignore it and investigate further > and possibly ask some more detailed questions. > I look forward to the January developments but I have to solve a few problems > before then. > > Paul > > > On 15/12/2017 9:19 PM, Timothy Ward wrote: >

Re: [osgi-dev] enRoute Tutorial Maven Repositories

2017-12-15 Thread Timothy Ward via osgi-dev
Hi Paul, As described on the enRoute website, OSGi enRoute is undergoing a bit of an overhaul ahead of the OSGi R7 release. There will be a *lot* of new material involving Maven arriving soon. We can point you at the stuff that’s being actively developed now, but can’t guarantee that what you

Re: [osgi-dev] making an existing interface method default causes MINOR baseline change

2017-12-05 Thread Timothy Ward via osgi-dev
> - Ray > > On Dec 5, 2017 03:05, "Peter Kriens via osgi-dev" <osgi-dev@mail.osgi.org > <mailto:osgi-dev@mail.osgi.org>> wrote: > Great minds think alike (and it helped we were both in this discussion) :-) > > P > >> On 5 Dec 2017, at 09:0

Re: [osgi-dev] making an existing interface method default causes MINOR baseline change

2017-12-05 Thread Timothy Ward via osgi-dev
Ray - I assume that you’re asking why this is a MINOR change, rather than a MICRO change? It’s obviously not a major change because the method exists with the same signature everywhere both before and after. The reason that it’s a MINOR change is to do with the forward (rather than backward)

Re: [osgi-dev] Declarative services and optional imports

2017-11-21 Thread Timothy Ward via osgi-dev
See also, https://www.slideshare.net/mfrancis/when-is-optional-really-optional-tim-ward Tim > On 21 Nov 2017, at 13:53, Robert Munteanu via osgi-dev > wrote: > > Hi Carsten, > > On Tue,

Re: [osgi-dev] Declarative services and optional imports

2017-11-21 Thread Timothy Ward via osgi-dev
Hi Robert, From the code snippet it looks as though you aren’t using the standard annotations (OPTIONAL_UNARY isn’t one of the enum values). If you want support for non-standard annotations then you’ll probably be best served by using the relevant mailing list for the community that provides

Re: [osgi-dev] Some questions

2017-09-27 Thread Timothy Ward
Some more responses inline: > On 27 Sep 2017, at 14:29, Neil Bartlett wrote: > >> >> On 27 Sep 2017, at 14:14, Thomas Driessen > > wrote: >> >> Hi, >> >> after working for some time with OSGi now I

Re: [osgi-dev] Class.forName Hell

2017-09-18 Thread Timothy Ward
I would not recommend any solution which involves the use of DynamicImport-Package: *. This is roughly equivalent to saying “I give up and want to switch off OSGi”. You lose any ability to validate a that a set of bundles is complete, and you have no guarantee that things will work at runtime.

Re: [osgi-dev] OSGi and Java 9

2017-09-07 Thread Timothy Ward
I think that the intent of the advice was (at least for the moment) that you should be able to run your OSGi applications just as you always have, effectively ignoring JPMS. I’m not sure what additional advice to give at this point. Tim > On 7 Sep 2017, at 21:04, Alex Sviridov

Re: [osgi-dev] Spring Dynamic Modules is the solution to access bean from a bundle configured in a different bundle?

2017-07-19 Thread Timothy Ward
Hi Raffaele, The Spring framework expects to be able to find all of the beans from a single class loader, which is often the source of problems. It gets even worse in many cases, because the Spring modules try to use their own class loader which can’t see any of the types at all. Depending on

Re: [osgi-dev] Can bnd-export-maven-plugin resolve reactor modules?

2017-06-22 Thread Timothy Ward
It should be noted that it’s usually a good idea to have a configured resolve step performed by the bnd-resolver-maven-plugin. This allows you to do a resolve from the command line, and have those changes written back to the bndrun file. The resolve step in the export plugin, on the other hand,

Re: [osgi-dev] Help With OBR

2017-06-22 Thread Timothy Ward
plugins to assemble your runtime (i.e. they’re all just OSGi bundles in the end). Regards, Tim > > > Thanks a lot! > Eran > > From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] > On Behalf Of Timothy Ward > Sent: Wednesday, June 21, 2017

Re: [osgi-dev] Help With OBR

2017-06-21 Thread Timothy Ward
For reference, the maven plugins to help with this are: The bnd-indexer-maven-plugin - used to create standard, portable XML repository indexes for a set of POM dependencies The bnd-resolver-maven-plugin - used to convert a set of run requirements into a list of bundles to use at runtime, uses

Re: [osgi-dev] Alternatives to DynamicImport for distributed events

2017-06-01 Thread Timothy Ward
As Peter says, this use case sounds to be what OSGi DTOs, JSON and the upcoming OSGi converter specification were built for. Regards, Tim > On 1 Jun 2017, at 09:32, Peter Kriens wrote: > > - Don’t use any type not in the JVM > - Encode the version in the payload > -

Re: [osgi-dev] Allow registering a (Prototype)ServiceFactory via DS?

2017-04-21 Thread Timothy Ward
ype) of a service, a ServiceFactory seems >> suitable to creating service objects by means other than their default >> constructor. Thus, supporting ServiceFactories in DS would make it >> very easy to provide OSGi-glue for arbitrary Java classes that are >> themselves unawa

Re: [osgi-dev] Allow registering a (Prototype)ServiceFactory via DS?

2017-04-20 Thread Timothy Ward
at my desired > approach is indeed not possible at the moment and (b) to see if adding > support for registering custom ServiceFactory implementations via DS > could be a desirable enhancement for the spec. > > Regards > Julian > > > On Thu, Apr 20, 2017 at 11:

Re: [osgi-dev] Allow registering a (Prototype)ServiceFactory via DS?

2017-04-20 Thread Timothy Ward
Have you not considered the following: @Component(configurationPolicy = ConfigurationPolicy.REQUIRE, scope = ServiceScope.BUNDLE) public class FooImpl implements Foo { public @interface Config { // Config definition in here } @Reference private FooBuilderFactory

Re: [osgi-dev] The whiteboard pattern for resource-only bundles?

2017-04-10 Thread Timothy Ward
Hi, I’ve answered your specific questions about BundleTracker inline, so feel free to skip ahead, but it would also be perfectly possible to define a reusable DS component (as described in your initial email) without requiring code from the user. If the core game library contains a suitably

Re: [osgi-dev] Bundle declared commands can't run from felix/concierge container

2017-02-15 Thread Timothy Ward
The way that you deploy a bundle is heavily dependent on the management agent that you choose to use. The bnd “export” is a simple management agent used to package up a bunch of bundles with a framework into a runnable jar file. If you want to deploy the individual bundles into another

Re: [osgi-dev] Component being activated twice?

2016-11-23 Thread Timothy Ward
Isn’t this exactly what enRoute was trying to do with the distros? Regards, Tim > On 23 Nov 2016, at 16:05, Raymond Auge wrote: > > @Peter this is exactly a scenario I'd love to be able to eliminate by > exposing the target runtime as a repo which we can specify as

Re: [osgi-dev] Component being activated twice?

2016-11-23 Thread Timothy Ward
n your component may be getting bounced. This would fit with the logs that you have provided. Regards, Tim > On 23 Nov 2016, at 15:34, Tim Ward <t...@telensa.com> wrote: > > On 23/11/2016 15:18, Timothy Ward wrote: >> What you’re doing is fine, as long as the deactivate

Re: [osgi-dev] Component being activated twice?

2016-11-23 Thread Timothy Ward
What you’re doing is fine, as long as the deactivate method stops the thread, and blocks until it has stopped. The activate method will only be called once by DS for a given component, two obvious things to ask: Are there any places in your code where calls are made to activate? Are you sure

Re: [osgi-dev] OSGi factory pids and configuration admin

2016-11-21 Thread Timothy Ward
Hi, I think that you also have a bit of a misunderstanding about what a factory pid is. > Given a factory pid of a.b.c, and a pid of q, I am a little > disoriented about how to manage some properties This doesn’t really make sense, you can have a factory pid of a.b.c, but the pid for a

Re: [osgi-dev] component factory and configuration

2016-11-21 Thread Timothy Ward
configuration. In the use case you have described you want to be injected with *all* of the Service Objects and to get one of each of them from each registered service. I hope this helps, Tim > On 21 Nov 2016, at 15:32, Scott Lewis <sle...@composent.com> wrote: > > On 11/21/2016 12:50 A

Re: [osgi-dev] component factory and configuration

2016-11-21 Thread Timothy Ward
Hi Ray, So a component property type is unable to override any super type methods (i.e. the Java compiler blocks this). You therefore can’t define any of the following methods: annotationType getClass hashCode clone toString notify notifyAll wait Unfortunately the DS spec is silent about what

Re: [osgi-dev] component factory and configuration

2016-11-19 Thread Timothy Ward
> Question: If I use a component factory as suggested above to create a > component instance, is there a straightforward way to associate every > newInstance with a separate/new configuration? The way that this is done is to pass the configuration using the newInstance method. Effectively

Re: [osgi-dev] Mvn for enroute

2016-11-14 Thread Timothy Ward
> is it possible to use only bndrun and not the pom file? Yes - however in order for the bndrun file to work it needs to have one or more repositories to pull bundles from. In the example the repository that is used is a “POM repository” i.e. it uses dependencies from a Maven POM. Therefore the

Re: [osgi-dev] Basic feedback on JAX-RS whiteboard spec

2016-11-10 Thread Timothy Ward
Also, thank you for reading the RFC and providing feedback! I will make sure to clarify the rules around pre and post match filters. Regards, Tim > On 10 Nov 2016, at 18:39, BJ Hargrave wrote: > > As stated in the front matter of the RFC, you should provide feedback to

Re: [osgi-dev] osgi-dev Digest, Vol 121, Issue 20

2016-11-10 Thread Timothy Ward
ose things relevant to the solution. Tim > > Christian > > On 10.11.2016 12:30, Timothy Ward wrote: >>> Add the property service.exported.interfaces=* and some provider specific >>> properties to your OSGi service. >> >> And this is where the whe

Re: [osgi-dev] RS/RSA for exposing JAX-RS resources

2016-11-10 Thread Timothy Ward
Actually I believe the prototype of the reference implementation is currently here https://github.com/csierra/osgi-jaxrs-extracted but it will be moved into Apache Aries at some point soon. It’s nice to know that Amdatu is planning to offer a

Re: [osgi-dev] osgi-dev Digest, Vol 121, Issue 20

2016-11-10 Thread Timothy Ward
This will not really help a user to get it up and running. > > On the other hand it is not necessary to explain the architecture to get > someone up and running. So while I think the architecture of RSA is really > great it is not what people need to get started. > > Christia

Re: [osgi-dev] osgi-dev Digest, Vol 121, Issue 20

2016-11-10 Thread Timothy Ward
Hi Christian, > Unfortunately it is not really possible to describe a practical example for > RSA without implementation specific details. I disagree with this statement. It’s perfectly possible to discuss the RSA architecture, and then to provide an example which uses one of the

Re: [osgi-dev] Understanding activate

2016-10-26 Thread Timothy Ward
ply inline… >> >> From: osgi-dev-boun...@mail.osgi.org <mailto:osgi-dev-boun...@mail.osgi.org> >> [mailto:osgi-dev-boun...@mail.osgi.org >> <mailto:osgi-dev-boun...@mail.osgi.org>] On Behalf Of Timothy Ward >> Sent: 26 October 2016 13:20 >> To: OSGi Deve

Re: [osgi-dev] Understanding activate

2016-10-26 Thread Timothy Ward
y to invoke a function > (which would sleep and wait for others to join before proceeding for next > action) on start up? > > > From: osgi-dev-boun...@mail.osgi.org <mailto:osgi-dev-boun...@mail.osgi.org> > [mailto:osgi-dev-boun...@mail.osgi.org > <mailto:osgi-

Re: [osgi-dev] Understanding activate

2016-10-26 Thread Timothy Ward
I note that there are a number of other DS components present - are any of the others showing the same issue? I’m making a guess here, but do any of the other components have Activate methods which can block the activation Thread? Felix SCR owns a background worker thread which is used for a

Re: [osgi-dev] Plain Jar to OSGi Bundle conversion

2016-10-21 Thread Timothy Ward
Manoj, You can add the jar file into a folder in your project and point at it using a relative path and setting the version to be “file”, e.g. lib/toWrap.jar;version=file Regards, Tim > On 21 Oct 2016, at 07:46, manoj.vrajam...@wipro.com wrote: > > Hi all, > > I was trying the

Re: [osgi-dev] Query

2016-10-20 Thread Timothy Ward
igbee devices. > Please help me with a step by step procedure to have/include a Zigbee > stack/bundle(base driver) in a simple getUpper QST Eclipse app (supposing I > have a Zigbee dongle to my laptop). I am on a Linux Laptop trying > Enroute/Bndtools. > > Thanks, > Manoj &g

Re: [osgi-dev] Query

2016-10-19 Thread Timothy Ward
Hi Manoj, If you’re looking for information about ZigBee then I suggest that you look at the recent OSGi specification draft for the Residential R6 Supplement (https://osgi.org/download/osgi.residential-supplement-6.0.0-earlydraft1.pdf

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-19 Thread Timothy Ward
is seems to have improved things. Now I can't explain why > the working test worked before, but you can't have everything. > >> >> Paul >> >> >> On 18/10/2016 11:46 PM, Benson Margulies wrote: >>> >>> On Tue, Oct 18, 2016 at 8:40 AM, Tim

Re: [osgi-dev] Interpreting the ServiceComponentRuntime DTOs

2016-10-18 Thread Timothy Ward
How are you creating the configuration? Configuration Admin uses the concept of a bundle location to restrict the visibility of a pid to a particular bundle. This almost always trips people up when they create the configuration themselves (i.e. in code) as the “default” methods bind the

Re: [osgi-dev] DS component life cycle.

2016-10-17 Thread Timothy Ward
this and it somehow did not >> bind all the optional dependencies although they were available. However the >> "policyOption=greedy" might do the trick. I will definitely look into it >> and see in debug how to component behaves. As for the thread safety and >&g

Re: [osgi-dev] DS component life cycle.

2016-10-14 Thread Timothy Ward
Peter, Whilst I agree that using a whiteboard is the right approach, it is absolutely possible to use the activate method with optional/dynamic references. The issue that you have with activation and dynamic references requires synchronisation, and a flag to indicate whether the component has

Re: [osgi-dev] Promises 1.1 Draft

2016-10-13 Thread Timothy Ward
Hi Simon, Sorry for the period of silence. I’m somewhat busy with a customer engagement, so not always able to respond as quickly as I’d like. > On 12 Oct 2016, at 13:21, Simon Chemouil wrote: > > Hi! > >> What you’ve described is how you would provide your own

Re: [osgi-dev] Promises 1.1 Draft

2016-10-11 Thread Timothy Ward
> On 11 Oct 2016, at 15:18, Simon Chemouil wrote: > > Hey Timothy, > > Thanks for your answer! Final(?) comments inside :-) > > >> It sounds as though you’re making pretty heavy use of Promises, which is >> great to hear! I agree that an external method can be used to

Re: [osgi-dev] Promises 1.1 Draft

2016-10-11 Thread Timothy Ward
Hi Simon, It sounds as though you’re making pretty heavy use of Promises, which is great to hear! I agree that an external method can be used to provide timeouts, but the fact that users (including me) have felt it necessary to create the method indicates that it should probably be part of the

Re: [osgi-dev] Promises 1.1 Draft

2016-10-11 Thread Timothy Ward
Hi Simon, > On 11 Oct 2016, at 10:58, Simon Chemouil wrote: > > Hi, > > I had a look at the recently published Compendium R7 draft. > > I noticed the Promise interface has, among other changes, two new methods: > * public Promise timeout(long milliseconds) > * public

Re: [osgi-dev] Service being destroyed

2016-10-06 Thread Timothy Ward
Hi David, The component that you’re writing needs to be an “immediate” component, i.e. one that is not lazily created and released. This will mean that the component is eagerly activated, and only destroyed if/when dependencies become unavailable. Some further thoughts: If you want to delay

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

2016-09-16 Thread Timothy Ward
the implementation. > > -- > > BJ Hargrave > Senior Technical Staff Member, IBM // office: +1 386 848 1781 > OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > - Original message - > From: Timothy Ward &

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

2016-09-15 Thread Timothy Ward
ession is > (&(version>=2.1)(!(version>=2.2))) > > -- > > BJ Hargrave > Senior Technical Staff Member, IBM // office: +1 386 848 1781 > OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > - Original m

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

2016-09-15 Thread Timothy Ward
i Alliance // mobile: +1 386 848 3788 > hargr...@us.ibm.com > > > - Original message - > From: Timothy Ward <tim.w...@paremus.com> > Sent by: osgi-dev-boun...@mail.osgi.org > To: OSGi Developer Mail List <osgi-dev@mail.osgi.org> > Cc: > Subjec

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

2016-09-15 Thread Timothy Ward
Hi Christian, Yes, this is a mess, and yes, it is hard. The JSR process has done a good job of making versioning as hard as possible! For some extra help, bnd will do the contract import for your consumer if you use the -contract instruction (see

Re: [osgi-dev] Working example tx-control with JPA

2016-09-08 Thread Timothy Ward
with config admin and then somehow bind that DS > to the persistence unit. > It would be really kind of you, if you could have another look at the > example and adjust it, so that the application can be started without > errors. > > Regards > Henrik > > Am 08.09.2016 um

Re: [osgi-dev] Working example tx-control with JPA

2016-09-07 Thread Timothy Ward
As requested: https://github.com/timothyjward/osgi.enroute.examples.jdbc/tree/jpa-example It’s a bit rough around the edges, but it sets up Hibernate, Aries JPA, Aries Transaction Control, and replaces the DAOs. The tests should all pass too. Regards, Tim > On 7 Sep 2016, at 09:40, Henrik

Re: [osgi-dev] Working example tx-control with JPA

2016-09-07 Thread Timothy Ward
I’ll take a look at modifying the jdbc workspace to use JPA. Tim > On 7 Sep 2016, at 09:40, Henrik Niehaus wrote: > > Thanks Peter, > I actually got that working and used it to implement a MySQL backend for > Felix UserAdmin. But know I want to switch to JPA, because

Re: [osgi-dev] OSGi for a plugin system?

2016-08-01 Thread Timothy Ward
Hi, This sounds like an interesting project, and it also sounds like OSGi would be a really good fit for what you want to achieve. The descriptions of static and dynamic policies for DS references are pretty good in the annotation Javadoc:

Re: [osgi-dev] Question on dependencies injection and config reading in SCR

2016-05-17 Thread Timothy Ward
sed in the configuration. Best Regards, Tim Ward OSGi IoT Expert Group Chair tim.w...@paremus.com > Thank you for your time. > Best regards, > Kim > > > > From: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] > On Behalf Of Timo

Re: [osgi-dev] Question on dependencies injection and config reading in SCR

2016-05-16 Thread Timothy Ward
Hi Kim, Declarative Services is a great choice, and should give you a simple way to do most of the things that you need. > On 16 May 2016, at 04:52, Chong, Kim Theng > wrote: > > Hi all, > > Previously we were using Spring DM to perform dependencies injections

Re: [osgi-dev] Clarify usage of ServiceTracker

2016-04-15 Thread Timothy Ward
Sorry to reiterate something from earlier, but: > I'm trying to get a clear picture of the ServiceTracker. I've looked at some > examples (e.g. http://www.aqute.biz/Snippets/Tracker > ), but they all seem rather > complicated. Have you considered using

Re: [osgi-dev] Alternative to Export-Service header

2016-03-04 Thread Timothy Ward
Hi, > On 4 Mar 2016, at 10:03, Balázs Zsoldos wrote: > > Hi, > > as much as I know, Export-Service MANIFEST header is deprecated. I would like > to ask you if there is an alternative like osgi.service namespace with > Provide-Capability? This is defined in

Re: [osgi-dev] building osgi for rpm's or deb's

2016-01-26 Thread Timothy Ward
Hi Dave, I don’t really have any experience building rpms or debs, however the JDBC driver should be just another JAR/bundle, and I’m assuming that its built using Maven (the pom file for the official release in maven central seems to indicate that this is true). In this case you simply need

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

2015-05-20 Thread Timothy Ward
Hi Frank, If you use Declarative Services to publish your service object then you can easily change its service properties at runtime using Config Admin. Every DS component has an associated PID (it defaults to the name of the component) and any public configuration properties (i.e. ones that

Re: [osgi-dev] Doing authorization based on JAAS authentication

2015-03-13 Thread Timothy Ward
you want to go. Christian On 13.03.2015 09:53, Timothy Ward wrote: Hi Christian, It sounds like what you want is the Authentication Service [1] from the En Route project (and probably also the Authorization service [2]). These are feeding into the OSGi standardisation process

Re: [osgi-dev] Doing authorization based on JAAS authentication

2015-03-13 Thread Timothy Ward
On 13 Mar 2015, at 10:22, Christian Schneider ch...@die-schneider.net wrote: On 13.03.2015 10:58, Timothy Ward wrote: So remarks below about what I found: Authentication --- I also have an implementation of the authentication part in cxf: https://github.com/apache/cxf

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

2015-02-13 Thread Timothy Ward
On 13 Feb 2015, at 17:06, Richard S. Hall he...@ungoverned.org wrote: On 2/13/15 11:37 , Christian Schneider wrote: I had a longer discussion with Guillaume Nodet about how to shut down bundles cleanly. The main question was if you can cleanly shut down bundles with just the OSGi APIs

Re: [osgi-dev] Routing service calls?

2015-01-14 Thread Timothy Ward
Hi On 14 Jan 2015, at 08:23, Christian Schneider ch...@die-schneider.net wrote: How about using a special property for the routing proxy? Publish it with the same interface as the backend services but give it a service property like proxy=true. Then in the front end you can filter for a

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

2014-09-29 Thread Timothy Ward
Hi Mike, The change you need to make depends on the contract for your hashCode() method. Whatever you change you really should change your version. API should really only use the same version if it’s bit identical. I would normally not bother to change the version when just using a different

Re: [osgi-dev] [SNMP4J] SNMP4J and OSGI

2014-09-15 Thread Timothy Ward
Hi Daniel, Some more detailed information would be helpful. What do you mean when you say that “the normal commands aren’t there”? How are you attempting to use the library? What exceptions are you seeing (if any)? Are you sure that your code is running? Once we have a better understanding of

Re: [osgi-dev] [SNMP4J] SNMP4J and OSGI

2014-09-15 Thread Timothy Ward
Hi, Would it be possible to see your bnd.bnd file? Also, is the SNMP4J bundle showing in your Bnd Bundle Path class path entry (see the example snapshot for how this should look)? If not then it may be that the bundle isn’t in a repository visible to bndtools. This does sound like a class

Re: [osgi-dev] ServiceListener called synchronously or asynchronously?

2014-08-21 Thread Timothy Ward
Hi Andreas, Service events are always sent synchronously to listeners and trackers. This is required by the specification, and not up to the framework implementation. The side effects of this are as follows: If two services are registered on different threads then the listener may receive

Re: [osgi-dev] aggregate dependencies

2014-06-18 Thread Timothy Ward
As people have suggested so far, there are quite a few solutions to this problem. The closest to what you have been doing so far is to use DS with a dynamic multiple requirement: private final ConcurrentMapString, ListXMLService services = new ConcurrentHashMap(); @Reference( cardinality =

Re: [osgi-dev] Handling Optional Dependencies

2014-03-20 Thread Timothy Ward
Hi Dan, The sort of optionality that you’re looking for is usually best handled using a service. That way you can have multiple implementations using different, non-optional, implementation packages, and the rest is hidden from you behind your service API. Actually ensuring that packages are

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

2014-03-18 Thread Timothy Ward
On 17 Mar 2014, at 23:03, Mike Wilson mike...@hotmail.com wrote: Hi Tim, replies inline, Timothy Ward wrote: In my view Mockito mocks are frequently about record first / invoke later. In my tests I often create a mock, run my test, and then validate that a certain action has happened

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

2014-03-17 Thread Timothy Ward
as far as we’re concerned, although we do need to ensure that the solution addresses the other RFC requirements. Regards, Tim Best regards Mike Timothy Ward wrote: Hi Mike, Your interpretation of the behaviour described in the RFC is correct, including the roles of the mediator object

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

2014-03-14 Thread Timothy Ward
Hi Mike, Your interpretation of the behaviour described in the RFC is correct, including the roles of the mediator object and the async service. I’ll outline the design process that we went through, and hopefully that will answer your question. One of the core problems associated with making