WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:Java Runtime
Description:Dynamic execution of Java accessors
Id:layer1.JavaRuntime
Category:accessor
Identifier Syntax

Java Runtime is an accessor using Active URI syntax with the following base identifiers:

Base
active:java

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
class
Mandatory
Representation (java.lang.Object)Java class of the endpoint to invoke.
varargs [varargs] Any quantityRepresentation (java.lang.Object)Varargs allows an arbitrary number of additional unspecified arguments.
Request Verbs

The following verbs are supported:

Verbs
SOURCESINKEXISTSDELETENEW
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use Java Runtime accessor you must import the module urn:com:1060research:www3:

<import>
  <uri>urn:com:1060research:www3</uri>
</import>

The JavaRuntime accessor dynamically invokes endpoints endpoints implemented as compiled Java classes. It allows Java to be used as a language runtime and applied in the same dynamic patterns as any other dynamic language. For example in a mapper declaration.

class

The accessor class must be an implementation of org.netkernel.module.standard.endpoint.IStandardEndpoint.