Modifying the Configuration Manager Proxy samples

You can modify the Configuration Manager Proxy (CMP) samples to change various parameters. Once recompiled this will effect how the sample runs.

The constants used in the samples can represent various attributes of the sample, for example the default connection parameters. By modifying them, you can change how the sample runs.

To modify a sample, perform the following steps:

  1. Set up the environment, as described in Configuring an environment for developing and running Configuration Manager Proxy applications.
  2. Locate the sample source file.
    The source files for the CMP samples are located in the following directories:
    Deploy BAR sample
    INST_DIR/sample/ConfigManagerProxy/cmp/DeployBAR.java
    broker domain management sample
    INST_DIR/sample/ConfigManagerProxy/cmp/DomainInfo.java
    Configuration Manager Proxy API Exerciser sample
    INST_DIR/sample/ConfigManagerProxy/cmp/exerciser
    Where INST_DIR is the installation directory.
  3. Open the source file, and modify the appropriate parameters.
  4. Recompile the source file.
The sample is now modified, and can be run.
Related concepts
The Configuration Manager Proxy samples
Related tasks
Running the Deploy BAR sample
Running the broker domain management sample
Running the Configuration Manager Proxy API Exerciser sample