Few comments and questions...
> + public boolean containsService(Class serviceInterface)
> + {
> + boolean contains = false;
> +
> + List servicePoints = (List)
> _servicePointsByInterface.get(serviceInterface);
> +
> + return size(servicePoints) == 1;
> + }
> +
The "contains" boolean is not really needed I suppose. And shouldn't this
method perform a checkShutdown() also?
> + public boolean containsService(String serviceId, Class
> serviceInterface)
> + {
> + checkShutdown();
> +
> + boolean contains = false;
> +
> + ServicePoint point = (ServicePoint)
> _servicePoints.get(serviceId);
> +
> + if (point == null)
> + return false;
> +
> + return
> point.getServiceInterface().equals(serviceInterface);
> + }
> +
"contains" isn't used here either...
--knut
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]