src/main/java/org/jboss/loom/migrators/connectionFactories/ResAdapterMigrator.java
private static String createPropertyScript(
            ResourceAdapterBean adapter, ConnectionDefinitionBean connDef, ConfigPropertyBean property) throws CliScriptException 
    {
        String errMsg = "of config-property in connection-definition in resource-adapter must be set.";
        Utils.throwIfBlank(property.getConfigPropertyName(), errMsg, "Name");

        StringBuilder script = new StringBuilder("/subsystem=resource-adapters/resource-adapter=");

        script.append(adapter.getJndiName());

        script.append("/connection-definitions=").append(connDef.getPoolName());

        script.append("/config-properties=");
        script.append(property.getConfigPropertyName());

        script.append(":add(");
        script.append("value=").append(property.getConfigProperty()).append(")");

        return script.toString();
    }
/**
     * Creates CLI script for adding a Config-Property of the specific Connection-Definition of the specific
     * Resource-Adapter
     *
     * @param adapter  Resource-Adapter containing Connection-Definition
     * @param connDef  Connection-Definition containing Config-Property
     * @param property Config-Property
     * @return string containing CLI script for adding the Config-Property
     * @throws CliScriptException if required attributes for a creation of the CLI command of the config-property
     *                            are missing or are empty (name)
     */
Creates CLI script for adding a Config-Property of the specific Connection-Definition of the specific
Resource-Adapter


Creates CLI script for adding a Config - Property of the specific Connection - Definition of the specific Resource - Adapter
private static String createPropertyScript(
            ResourceAdapterBean adapter, ConnectionDefinitionBean connDef, ConfigPropertyBean property) throws CliScriptException 
    {
        String errMsg = "of config-property in connection-definition in resource-adapter must be set.";
        Utils.throwIfBlank(property.getConfigPropertyName(), errMsg, "Name");
        StringBuilder script = new StringBuilder("/subsystem=resource-adapters/resource-adapter=");
        script.append(adapter.getJndiName());
        script.append("/connection-definitions=").append(connDef.getPoolName());
        script.append("/config-properties=");
        script.append(property.getConfigPropertyName());
        script.append(":add(");
        script.append("value=").append(property.getConfigProperty()).append(")");
        return script.toString();
    }
private static String createPropertyScript ( ResourceAdapterBean adapter , ConnectionDefinitionBean connDef , ConfigPropertyBean property ) throws CliScriptException { String errMsg = "of config-property in connection-definition in resource-adapter must be set." ; Utils . throwIfBlank ( property . getConfigPropertyName ( ) , errMsg , "Name" ) ; StringBuilder script = new StringBuilder ( "/subsystem=resource-adapters/resource-adapter=" ) ; script . append ( adapter . getJndiName ( ) ) ; script . append ( "/connection-definitions=" ) . append ( connDef . getPoolName ( ) ) ; script . append ( "/config-properties=" ) ; script . append ( property . getConfigPropertyName ( ) ) ; script . append ( ":add(" ) ; script . append ( "value=" ) . append ( property . getConfigProperty ( ) ) . append ( ")" ) ; return script . toString ( ) ; }
Creates CLI script for adding a Config-Property of the specific Connection-Definition of the specific
 Resource-Adapter
Creates CLI script for adding a Config - Property of the specific Connection - Definition of the specific Resource - Adapter