Exposing a Java Class as a Callable
Object
You must hold the
portal role GP Business Expert, or the relevant permissions for working with
the Guided Procedures (GP) design time. For more information, see
Portal Roles in
Business Expert Guide.
...
1. Open GP design time, as described in Launching Guided Procedures (GP) Design Time.
2. Choose Create Callable Object from the contextual panel.
3. Enter the following data:
○ Type – select Service → Background Execution
○ Name – for example, User Details
○ Description – for example, Retrieve user details in the background
○ Original Language – select English
○ Location – choose any folder in the gallery
Basic Data

4. Choose Next to open the Define Object screen.
○ For Container Type, select Library.
○ For Container, select the J2EE library that you created and deployed to the application server.
○ For Implementation Class Name, enter the fully qualified Java name of your implementation class.
Define Callable Object

5. Choose Next to open the Define Input screen.
The input parameter UserID that you defined in the implementation is displayed here.
Input Parameters

6. Choose Next to open the Define Output screen.
The structure with output parameters defined in the implementation is displayed on the screen.
Output Parameters

7. Choose Next, and then Finish and Open.
You have instantiated your background callable object in the GP design time.
Now you can test and activate it.