if(loader == null)
{
throw new IllegalStateException("No " + ServiceLoader.class.getName() + " found in context");
}
ServerKillProcessor serverKillProcessor = serviceLoader.get().onlyOne(ServerKillProcessor.class,
DefaultServerKillProcessor.class);
if(serverKillProcessor == null)
{
throw new IllegalStateException("No " + ServerKillProcessor.class.getName() + " found in context");
}