private JWebSocketConfig(Builder builder) {
if (builder.engines == null || builder.servers == null
|| builder.users == null || builder.globalRights == null
|| builder.globalRoles == null || builder.filters == null
|| builder.loggingConfig == null) {
throw new WebSocketRuntimeException(
"Configuration is not loaded completely.");
}
mInstallation = builder.installation;
mProtocol = builder.protocol;
jWebSocketHome = builder.jWebSocketHome;