# HG changeset patch # User Severin Gehwolf # Date 1363107004 -3600 # Node ID 7fdd6aa5feac21c9adf0fdc9f73479f129fbd805 # Parent dbc2efe40d0d5a46f83d4fce3a7373bcbb3f787f Fix OSGi filter syntax. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-March/006054.html diff -r dbc2efe40d0d -r 7fdd6aa5feac client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java --- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java Tue Mar 12 14:24:00 2013 +0100 +++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostFilterRegistry.java Tue Mar 12 17:50:04 2013 +0100 @@ -47,7 +47,7 @@ class HostFilterRegistry extends ThermostatExtensionRegistry { private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" + - Filter.class.getName() + ")&(" + + Filter.class.getName() + ")(" + com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" + HostRef.class.getName() + "))"; diff -r dbc2efe40d0d -r 7fdd6aa5feac client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java --- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java Tue Mar 12 14:24:00 2013 +0100 +++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/HostTreeDecoratorRegistry.java Tue Mar 12 17:50:04 2013 +0100 @@ -48,7 +48,7 @@ class HostTreeDecoratorRegistry extends ThermostatExtensionRegistry { private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" + - DecoratorProvider.class.getName() + ")&(" + + DecoratorProvider.class.getName() + ")(" + com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" + HostRef.class.getName() + "))"; diff -r dbc2efe40d0d -r 7fdd6aa5feac client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java --- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java Tue Mar 12 14:24:00 2013 +0100 +++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMInformationRegistry.java Tue Mar 12 17:50:04 2013 +0100 @@ -48,7 +48,7 @@ class VMInformationRegistry extends ThermostatExtensionRegistry { private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" + - InformationService.class.getName() + ")&(" + + InformationService.class.getName() + ")(" + com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" + VmRef.class.getName() + "))"; diff -r dbc2efe40d0d -r 7fdd6aa5feac client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java --- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java Tue Mar 12 14:24:00 2013 +0100 +++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VMTreeDecoratorRegistry.java Tue Mar 12 17:50:04 2013 +0100 @@ -48,7 +48,7 @@ class VMTreeDecoratorRegistry extends ThermostatExtensionRegistry { private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" + - DecoratorProvider.class.getName() + ")&(" + + DecoratorProvider.class.getName() + ")(" + com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" + VmRef.class.getName() + "))"; diff -r dbc2efe40d0d -r 7fdd6aa5feac client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java --- a/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java Tue Mar 12 14:24:00 2013 +0100 +++ b/client/swing/src/main/java/com/redhat/thermostat/client/swing/internal/VmFilterRegistry.java Tue Mar 12 17:50:04 2013 +0100 @@ -47,7 +47,7 @@ class VmFilterRegistry extends ThermostatExtensionRegistry { private static final String FILTER = "(&(" + Constants.OBJECTCLASS + "=" + - Filter.class.getName() + ")&(" + + Filter.class.getName() + ")(" + com.redhat.thermostat.common.Constants.GENERIC_SERVICE_CLASSNAME + "=" + VmRef.class.getName() + "))";