A Plain Old Java Object (POJO) is a Java object that follows the Java Language Specification only. All Java objects are POJOs.
The POJO job lets you instantiate a class to create a Java object and invoke a method on it. The job is restricted to classes that take constructors with no arguments (default constructors).
Note: To run these jobs, your system requires CA WA Agent for UNIX, Linux, or Windows and either CA WA Agent for Application Services or CA WA Agent for Web Services.
You can use the POJO job to invoke custom Java code on a local computer. POJO jobs support method calls that can involve passing parameters. The parameters can be actual values or a serialized Java object passed by another job. When the POJO job invokes a method on an object, the parameters, if any, are passed to the object and the returned values are stored in a Java serialized object file.
To define a POJO job, you require the class name and method you want to call on the instantiated object.
Note: If you use custom Java code, contact your agent administrator to verify the required JAR file is available in the jars subdirectory of the agent installation directory.
|
Copyright © 2011 CA.
All rights reserved.
|
|