private GlobalRegistry() {
}
synchronized Registration register(String alias, Bundle bundle, StandardContext context, Servlet servlet, Registration.Type type) throws NamespaceException {
if (exists(alias))
throw new NamespaceException(OSGiMessages.MESSAGES.aliasMappingAlreadyExists(alias));
LOGGER.infoRegisterHttpServiceAlias(alias);
Registration result = new Registration(alias, bundle, context, servlet, type);
registrations.put(alias, result);