Try OpenEdge Now
skip to main content
Customization Guide
Developing custom Managed Adapters : Registering the Adapter Configurator
 

Registering the Adapter Configurator

When you compile the custom adapter configurator and make it available in the OpenEdge Business Process Server classpath (see Compiling and packaging the Adapter classes), you must change the mapping.prop file to list the adapter configurator class before using it in Progress Developer Studio for OpenEdge.
Open the mapping.prop file from the <workspace>/.com.savvion.studio/adapters/DemoAdapters/MathAdapter directory, and give the configurator class name in the adapter-configurator property, as shown below:
mapping.prop
adapter-class=demo.MathAdapter
adapter-configurator=demo.MathAdapterConfigurator
map-configurator=com.savvion.sbm.adapters.framework.GroupMapConfigurator
runtime-mapper=com.savvion.sbm.adapters.framework.GroupMapper
AdapterCategory=DemoAdapters
AdapterName=MathAdapter
log-level=10
This will make the adapter configurator available from Progress Developer Studio for OpenEdge.
Note that in case you have an already existing application using the MathAdapter, this change will not be automatically propagated to the worksteps in this application. You will have to change the configuration (Workstep Properties dialog > Configuration > Advanced Properties...) and republish the affected applications.