On Mon, Jun 27, 2011 at 9:45 PM, Alasdair Nottingham <[email protected]> wrote:

> Overall based on this I think a more correct filter would be this:
>
> (&(objectClass=*MBean)(|(objectClass=javax.management.MBeanRegistration)(jmx.objectname=)))

I'm still learning and may be totally wrong, so am asking for excuse
in advance. I'd bet the book "OSGi in Action" and the spec itself (see
3.2.7 Filter Syntax) say that to check for existence of an attribute
you should use present ::= attr ’=*’. Is that what the last filter is
supposed to achieve?

Jacek

-- 
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl

Reply via email to