Managing Master Data with webMethods OneData 10.5 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | OneData Hooks | How are hooks used in OneData? | Hook Types | Java RMI and Java Local Hooks
Java RMI and Java Local Hooks
You can configure a Java hook as an iHook only. Java local hooks exist in the same classpath as OneData; whereas, Java RMI iHooks hosts hooks in the form of remote Java functions through RMI. RMI hooks do not need to be in XML format because the it can process the input and output objects directly. In Java RMI iHooks, OneData acts as the RMI client and access the remote RMI server.
Hook Name
Name of the hook.
Hook Description
Type an appropriate description for the hook.
Hook Execution Mode
The OneData mode in which the hook should be executed:
Applicable only to Java RMI hook. URL of the remote RMI server. The URL format is: RMI server name:Port of RMI server.
For example, localhost:3099
Program Name
*Java RMI hooks. Binding name of the remote hook object in the RMI Server.
*Java local hooks. Fully qualified class name of the hook (packagename.classname).
For example, com.test.hook.local.TestLocalHook
Is Interactive Hook
Indicates if the hook is an iHook. This property is selected by default and cannot be changed.
Hook Cardinality
Execution parameter that determines when to execute the external program. The hook executes the program based on the number of rows changed:
*0. Hook executes when no rows are changed.
*1. Hook executes when one row is changed.
*n. Hook executes when more than one row is changed.

Copyright © 2011-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.