Add an implementation to a Plugins Registry item

Procedure

  1. In the Project tool window, navigate to configuration > config > Plugins > registry. In the list of plugin items in the Plugins Registry, double-click the plugin name to open it in the Plugins Registry editor.
  2. Click Add Plugin , and then click the type of plugin to add: Gosu, Java, or OSGi.
    Note: Do not change the value of the Name field in this editor.
    • Gosu implementations

      If you select Add Gosu Plugin, you see the following:

      Gosu Class

      Type the name of the Gosu class that implements this plugin interface. In the base configuration, Guidewire places all Gosu plugin implementation classes in the following package under configuration > gsrc:

      gw.plugin.package.impl

      You must enter the fully qualified path to the Gosu implementation class. For example, use gw.plugin.email.impl.JavaxEmailMessageTransport for the Gosu emailMessageTransport plugin.

      See Overview of plugins for more information.

    • Java implementations

      If you select Add Java Plugin, you see the following:

      Java Class

      For the Java class that implements this plugin, type the fully qualified path, which includes the dot-separated package path to the class. Place all Java plugin classes that are not provided in the base configuration in the following directory:

      PolicyCenter/modules/configuration/plugins/

      Plugin Directory

      (Optional) Type the name of the base plugin directory for the Java class. This is a folder (directory) in the modules/configuration/plugins directory. If you do not specify a value, Studio assumes that the class exists in the modules/configuration/plugins/shared directory.

      See Special notes for Java plugins.

    • OSGi Implementations

      If you select Add OSGi Plugin, you see the following:

      Service PID

      Type the fully qualified Java class name for your OSGi implementation class.

      See Java and OSGi support.

    • All Implementations

      Optionally, you can set the following:

      Environment

      Type a comma-separated list of the environments in which the plugin operates.

      See Configuring a plugin environment.

      Server

      Type the name of the server on which the plugin operates.

      See Configuring a plugin environment.

  3. After creating the plugin, you can add parameters to it. To do so, click Add Parameter , and enter the parameter name and value.

What to do next

For more information on setting environment or server properties, see Configuring a plugin environment.