Connect SAPJCo form – Completing the Service tab
Complete this tab first.
Field | Description |
---|---|
Java Class | Enter the fully qualified name of the Java class. |
Java Class Constructor | |
Constructor |
If the value in the
Initialize Object
field is set to either
Create a new object every time
or
If possible, use a valid object handle , identify the name of the constructor to be used. If this constructor requires parameters, complete the
Constructor
tab.
|
Java Class Method | |
Initialize Object |
Indicate whether a new Java object is to be used for each call. Select one:
|
Method |
Enter the signature of the method to be called, identifying the position and types of each parameter. For example:
|
Finalize Object |
Indicate the disposition of the object after the call completes. Select one:
|
Object Handle Property |
Optional. To save an object handle across multiple calls, identify a property of mode
Java Object
to contain the handle.
|
Error Handling | |
Status Value Property |
Optional. Identify a
Single Value
property that can hold a status value returned by the connector. The literal value
Good
identifies success. You can use the standard property
@baseclass.pyStatusValue.
|
Status Message Property |
Optional. Identify a
Single Value
property that can receive a text error message returned by the connector. You can use the standard property
@baseclass.pyStatusMessage.
|
Invocation Exception Property |
Optional. Select a property of mode
Java Object
to contain a Java exception, if any are thrown during this connection execution.
|
Error Handler Flow | Optional. Identify a flow rule that is to be started when this connector rule is started by a flow rule but fails. The default flow rule Work-.ConnectionProblem provides one approach for handling such problems. See Handling connector exceptions. |
Test Connectivity |
Click this button at any time after you have completed and saved the form to confirm that the
Pega Platform
can connect to the Java class identified.
The system presents test results in a separate window, identifying the parameters used in the test, the steps attempted, and the outcome of each step. |
Simulations | Click to create a simulator for this connect rule. See Creating connect simulators. |