Previous Topic: Editing ApplicationsNext Topic: Design Rule Check


Editing Assemblies

You can use assemblies in any place where you would use a simple appliance. Assemblies can be used where ever you would use a simple appliance. This allows you to reuse infrastructure without increasing the the complexity of the application.

For example, a specialist in database clustering can create a stock assembly for clustered database deployment and publish it in a catalog. Application integrators can then use this assembly in multiple applications, whenever they need database scalability and/or high availability, and without having to know how exactly the cluster is set up and operates.

This section describes elements and editing capabilities that are available only when editing assemblies that are not the application top-level assembly (main). The editing of an assembly is very much like editing and configuring application main.

This section contains the following topics:

Edit Assemblies

Edit Assemblies

You can create and edit an assembly class using a singleton.

Follow these steps:

  1. Drag the assembly template class from the Singletons section of the catalog to the canvas.
  2. Right-click the assembly appliance, then select Modify Boundary.
  3. Configure the boundary of the assembly class as you would for a simple class.

    For additional information on defining the boundary, refer to the Set Class Boundary section of the Appliance Developer Guide.

  4. To edit the interior of the assembly, right-click the assembly appliance, then select Modify Interior. to edit the interior of the assembly.

    A canvas that contains shapes for the assembly as defined by the class boundary appears.

    Drag classes from a catalog or create new singleton classes as you would for editing the application main to create the infrastructure of the assembly.

    To move around the assembly terminals, you need to click within the gray area on the terminal shape to select it and then drag it to the desired position on the canvas.

  5. Configure the assembly subordinate instances.
  6. Click Save.
  7. Test the assembly.
  8. Move the assembly to a catalog by dragging it to the catalog as you would do for a simple class.