N1 Service Provisioning System 4.1 Reference Guide

execJava Step attributes

Name 

Type 

Required 

Configurable 

Description 

className 

String 

Yes 

Yes 

The full name of a public class with a public no-arg constructor that implements the ExecutorFactory interface (as specified by the Plan Executor). 

classPath 

String 

No 

Yes 

The classpath containing the class named by the className attribute. If unspecified, the system class path of the remote agent is used. The classpath format is a semi-colon separated list of absolute paths to jar files on the agent. 

timeout 

positiveInteger 

No 

No 

Specifies the number of seconds to wait for the command to complete before timing it out. If not specified the plan"s exec native timeout period applies. Should be a value greater than 0. 


Note –

When an execJava step is contained within a component, it typically calls classes which are contained within one or more resources deployed by that component. When contained within a plan, the classes called are already resident on the agent, either as a system class of the agent itself, or more probably as a resource that was deployed with an existing component.