private ApplicationEnvironment(){
  try {
    if (System.getProperty(BootstrapProperties.IS_UBERJAR) != null) {
      this.mode=Mode.UBERJAR;
      if (!loadWildFlySwarmApplicationManifestFromClasspath()) {
        loadWildFlySwarmApplicationManifestFromTCCL();
      }
    }
 else {
      this.mode=Mode.CLASSPATH;
      loadFractionManifestsFromClasspath();
    }
  }
 catch (  IOException e) {
    throw new RuntimeException(e);
  }
}

private ApplicationEnvironment ( ) { try { if ( System . getProperty ( BootstrapProperties . IS_UBERJAR ) != null ) { this . mode = Mode . UBERJAR ; if ( ! loadWildFlySwarmApplicationManifestFromClasspath ( ) ) { loadWildFlySwarmApplicationManifestFromTCCL ( ) ; } } else { this . mode = Mode . CLASSPATH ; loadFractionManifestsFromClasspath ( ) ; } } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
do not construct directly .
