src/main/java/org/jboss/loom/MigrationEngine.java
private void openManagementClient() throws MigrationException {
        ModelControllerClient as7Client = null;
        AS7Config as7Config = config.getGlobal().getAS7Config();
        try {
            as7Client = ModelControllerClient.Factory.create( as7Config.getHost(), as7Config.getManagementPort() );
        }
        catch( UnknownHostException ex ){
            throw new MigrationException("Unknown AS 7 host: " + as7Config.getHost(), ex);
        }
        ctx.setAS7ManagementClient( as7Client );
    }
// AS 7 management client connection.
AS 7 management client connection.
AS 7 management client connection .
private void openManagementClient() throws MigrationException {
        ModelControllerClient as7Client = null;
        AS7Config as7Config = config.getGlobal().getAS7Config();
        try {
            as7Client = ModelControllerClient.Factory.create( as7Config.getHost(), as7Config.getManagementPort() );
        }
        catch( UnknownHostException ex ){
            throw new MigrationException("Unknown AS 7 host: " + as7Config.getHost(), ex);
        }
        ctx.setAS7ManagementClient( as7Client );
    }
private void openManagementClient ( ) throws MigrationException { ModelControllerClient as7Client = null ; AS7Config as7Config = config . getGlobal ( ) . getAS7Config ( ) ; try { as7Client = ModelControllerClient . Factory . create ( as7Config . getHost ( ) , as7Config . getManagementPort ( ) ) ; } catch ( UnknownHostException ex ) { throw new MigrationException ( "Unknown AS 7 host: " + as7Config . getHost ( ) , ex ) ; } ctx . setAS7ManagementClient ( as7Client ) ; }
AS 7 management client connection.
AS 7 management client connection .