Register a plugin implementation in ContactManager
About this task
An example of a plugin registry in ContactManager is PolicySystemPlugin.gwp, which ContactManager can use to send changes in contacts to PolicyCenter.
Procedure
-
Start Guidewire Studio™ for ContactManager.
At a command prompt, navigate to the ContactManager installation folder and enter the following command:
gwb studio - In the Project window, navigate to and then to PolicySystemPlugin.gwp, which is a plugin registry. Double-click this file to open it in the editor.
-
In the Plugin Registry editor on the right, in the Class field, the default plugin
that is registered in the base application is
gw.plugin.integration.StandAloneClientSystemPlugin.
This class is a plugin implementation that implements the ClientSystemPlugin class. ContactManager does not use this plugin implementation to communicate with a core application. Its purpose is to provide a way to demonstrate ContactManager without having a core application integrated.Note: You might have set up ContactManager to integrate with PolicyCenter, as described in Integrating ContactManager with PolicyCenter in QuickStart. In that case, the class that is registered is gw.plugin.policy.pc1000.PCPolicySystemPlugin, which ContactManager actually does use to communicate changes to PolicyCenter.
-
If you navigate to and then to
gw.plugin.policy.pc1000.PCPolicySystemPlugin, you can see that this plugin implementation extends the ClientSystemPlugin1000 class. The ClientSystemPlugin1000 class extends the AbstractClientSystemPlugin class, which implements ClientSystemPlugin.
