Add an implementation to a Plugins Registry item
Procedure
- In the Project tool window, navigate to . In the list of plugin items in the Plugins Registry, double-click the plugin name to open it in the Plugins Registry editor.
-
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 :
gw.plugin.package.implYou must enter the fully qualified path to the Gosu implementation class. For example, use
gw.plugin.email.impl.JavaxEmailMessageTransportfor the GosuemailMessageTransportplugin.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.
- 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.
- All Implementations
Optionally, you can set the following:
Environment
Type a comma-separated list of the environments in which the plugin operates.
Server
Type the name of the server on which the plugin operates.
- Gosu implementations
-
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.
