if (contextRoot == null) {
return;
}
if (endpointAdapter == null) {
throw new EndpointRegistrationException(
"The endpoint adapter is null");
}
((ContainerMapper)grizzlyListener.getEmbeddedHttp().getAdapter())
.register(contextRoot, vsServers, endpointAdapter, container);
}