public void loadProcessConnection(){
  ProcessConnectionResponse processConnectionResponse=processConfigurationLoader.getProcessConnection();
  if (processConnectionResponse.getProcessPIK() == null || processConnectionResponse.getProcessPIK() <= ProcessConnectionResponse.PIK_REJECTED) {
    throw new RuntimeException("PIK_REJECTED received");
  }
  ProcessConfiguration processConfiguration=new ProcessConfiguration();
  processConfiguration.setProcessName(processConnectionResponse.getProcessName());
  processConfiguration.setprocessPIK(processConnectionResponse.getProcessPIK());
  ProcessConfigurationHolder.setInstance(processConfiguration);
}

public void loadProcessConnection ( ) { ProcessConnectionResponse processConnectionResponse = processConfigurationLoader . getProcessConnection ( ) ; if ( processConnectionResponse . getProcessPIK ( ) == null || processConnectionResponse . getProcessPIK ( ) <= ProcessConnectionResponse . PIK_REJECTED ) { throw new RuntimeException ( "PIK_REJECTED received" ) ; } ProcessConfiguration processConfiguration = new ProcessConfiguration ( ) ; processConfiguration . setProcessName ( processConnectionResponse . getProcessName ( ) ) ; processConfiguration . setprocessPIK ( processConnectionResponse . getProcessPIK ( ) ) ; ProcessConfigurationHolder . setInstance ( processConfiguration ) ; }
loads the process connection with the identification key ( pik ) from the server . if the pik request is rejected from the server the start up process stops .
