this.customizer = (customizer == null) ? this : customizer;
this.listenerFilter = "(&(" + Constants.OBJECTCLASS + "=" + ((String[]) reference.getProperty(Constants.OBJECTCLASS))[0] //$NON-NLS-1$ //$NON-NLS-2$
+ ")(" + Constants.SERVICE_ID + "=" + reference.getProperty(Constants.SERVICE_ID).toString() + "))"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
this.noUserFilter = true;
try {
this.filter = new RemoteFilterImpl(listenerFilter);
} catch (InvalidSyntaxException e) { // we could only get this exception
// if the ServiceReference was
// invalid
throw new IllegalArgumentException("unexpected InvalidSyntaxException: " + e.getMessage()); //$NON-NLS-1$
}