OVERONE DotNetJ client program reference

JavaObject Constructor (String, String, String, Object)

Instantiates a remote Java object of the specified Java class by calling its constructor with one parameter.

public JavaObject(
   string channelUrl,
   string className,
   string argType,
   object argVal
);

Parameters

channelUrl
The network location where the Java object must be instantiated, must be of the form java://host:port or java://host. If no port is specified, the default port is used.
className
The Java object's class name.
argType
The argument type name. Use a Java class name, or a predefined type name with ParameterTypeNames.
argVal
The argument.

See Also

JavaObject Class | JavaObject Members | OVERONE.DotNetJ Namespace | JavaObject Constructor Overload List