Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Developer's Guide
Attributes
The following table describes attributes for the class-loader element.
Table A–20
class-loader Attributes
Attribute
|
Default
|
Description
|
extra-class-path
|
null
|
(optional) Specifies additional classpath settings for this
web module.
|
delegate
|
true
|
(optional) If true, 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. You must
set this to true for a web application that accesses
EJB components or that acts as a web service client or endpoint.
If false, 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’s safe
to set this to false only for a web module that
does not interact with any other modules.
|
dynamic-reload-interval
|
|
(optional) Not implemented. Included for backward compatibility
with previous Sun Java System Web Server versions.
|
Note – If the delegate element is set to false, the class loader delegation behavior complies with
the Servlet 2.4 specification, section 9.7.2. If set to its default
value of true, classes and resources residing in
container-wide library JAR files are loaded in preference to classes
and resources packaged within the WAR file.
Portable programs
that use this element should not be packaged with any classes or interfaces
that are a part of the J2EE specification. The behavior of a program
that includes such classes or interfaces in its WAR file is undefined.