[Index]

web:remote-handler


Provide a Jetty Server Handler that connects to a local JMX implementation.

This allows greater control over a server. For a quick Oddjob Web UI see web:ui-server.


Property Summary

allowCrossOrigin Is cross-origin content allowed?
classLoader The classloader passed to Jetty.
jmxServer An Oddjob JMX Server.
multiPartConfig Set parameters for MultiPartConfig so that file upload from a form works.
uploadDirectory Upload directory.

Property Detail

allowCrossOrigin

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. Defaults to false.

Is cross-origin content allowed?

classLoader

Configured ByELEMENT
AccessREAD_WRITE
RequiredNo.

The classloader passed to Jetty. If not set then Jetty and RESTEasy use the Thread context classloader. This is set by Oddjob's service adapter to be the classloader that loaded the component that is using this handler which will be the Oddball classloader. Setting this classloader will be complicated as it may require the Oddball classloader as a parent.

jmxServer

Configured ByELEMENT
AccessREAD_WRITE
RequiredYes, for the time being. Will default soon.

An Oddjob JMX Server.

multiPartConfig

Configured ByELEMENT
AccessREAD_WRITE
RequiredNo. Defaults are used.

Set parameters for MultiPartConfig so that file upload from a form works.

uploadDirectory

Configured ByELEMENT
AccessREAD_WRITE
RequiredNo. Defaults tmp dir.

Upload directory. Required for an action form that specifies a file.


(c) R Gordon Ltd 2005 - Present