Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


3.13.84 /glassfish-web-app/class-loader

/glassfish-web-app/class-loader specifies the class loader configuration information.

Description

/glassfish-web-app/class-loader configures the class loader for a web module.

Repetition pattern

0 or 1 time

Specifiable attributes

Attribute name

Description

Specifiable values

Default value#

Dependencies

Repetition pattern

extra-class-path

Specifies a colon (:) or semicolon (;) separated list of additional classpaths for this web module. Paths can be absolute or relative to the web module root.

Type: String

No default value

N/A

0 or 1 time

delegate

If set to true, then the web module follows the standard class loader delegation model and delegates to its parent class loader first before looking in the local class loader. Set this to true for a web module that accesses the EJB components or that acts as a web service client or endpoint.

If set to false, then the web module follows the delegation model specified in the Servlet specification and looks in its class loader before looking in the parent class loader. It is safe to set this to false only for a web module that does not interact with any other modules.

For a number of packages, including java.* and javax.*, symbol resolution is always delegated to the parent class loader regardless of the delegate setting. This prevents applications from overriding the core Java runtime classes or changing the API versions of specifications that are part of the Java EE platform.

Type: Boolean

{true | false}

true

N/A

0 or 1 time

Legend:

N/A: Not applicable

#: This is the default value that is set when a definition item is excluded.