Thanks Graham - I've committed it to trunk (ARIES-1263). David
On 13 November 2014 12:32, Graham Charters <gchart...@gmail.com> wrote: > Hi David, I think this is a good addition. Thanks > > Regards, Graham. > > On 10 November 2014 21:53, David Bosschaert <david.bosscha...@gmail.com> > wrote: > >> Hi all, >> >> When using Composite Subsystems you can specify the services to be >> exported and the services to be imported using the >> Subsystem-ImportService and Subsystem-ExportService headers, for >> example: >> Subsystem-ExportService: org.acme.billing.Account; filter:="(user=bob)" >> Subsystem-ImportService: org.acme.billing.Account; >> filter:="(type=premium)" >> >> However there is no defined way to select service purely by filter, >> not explicitly listing the classname. In some cases we have found the >> need for this, where we don't know the classnames of all the services >> to be imported/exported in advance or where this list is long. >> >> Therefore a service classname wildcard on these headers would be >> useful. Like this: >> Subsystem-ExportService: *; filter:="(user=bob)" >> Subsystem-ImportService: *; filter:="(type=premium)" >> >> I have implemented this in the following commit: >> >> https://github.com/bosschaert/aries/commit/08b9dc15c43feaae8588566de65edba4011dbba8 >> (BTW apologies for the trailing whitespace fixes that were made by my >> editor). >> If nobody objects I'll merge this subsystem enhancement soon. >> >> BTW while I was working on this I discovered >> https://issues.apache.org/jira/browse/ARIES-1274 >> >> Cheers, >> >> David >>