The basic development steps to write the logic for the execute method of a Java Processor class are as follows:
To write Java Processor execute method logic:
Extract parameters from InputBean (retrieve information).
Use these parameters to build a command.
Send a message or command to the switch using the send request in Telnet.
Handle the response by setting the user-defined exit type.
See "Creating New User-Defined Exit Types" for more information about setting the user-defined exit type.
Using the OutputBean, you have the option to return some parameters upstream to log, infoparm, and so on.
Occasionally, for Telnet, you may need to build some helper classes, perform data derivation, and create parsers.
Understanding the Java Processor Class