7. ASOLib—OpenROAD Server Library : How You Can Use ASOLib Within an OpenROAD Server Application : Step 5: Generate SCP Metadata (Optional)
 
Share this page                  
Step 5: Generate SCP Metadata (Optional)
At runtime, the calling signature (that is, name and parameters) of all SCPs, GSCPs, exposed user classes, and methods in your application can be interrogated by the Server Manager and its Browser. This metadata is generated as an XML document using a process called MetaGen. The document is stored within the application for interrogation at runtime.
To generate metadata
1. Click the application for which you want to generate SCP meta data in the Applications portlet of the Develop tab.
Application components are listed in the Components portlet.
2. Click Project, Image.
3. The Make Image dialog appears.
4. Select the Generate SCP Metadata option. You can specify an interface name and version.
5. Click Go to build the image. (See Step 6: Make the Image (see Step 6: Make the Image).)
Alternatively, you can select your application in the Applications portlet, then click Tools, Generate, SCP Metadata. Specify an interface name and version in the Metagen Parameters dialog, and then click OK.
You can include normal user-written SCPs in the published metadata by checking the Include in SCP Meta Data check box in the Procedure Editor.
Note:  If you regenerate GSCPs or amend SCPs, you must regenerate SCP metadata the next time you build an image.