Sun GlassFish Enterprise Server v3 Domain File Format Reference

Attributes

The following table describes attributes for the extension-module element.

Table 1–51 extension-module Attributes

Attribute 

Default 

Description 

name

none 

The name of the extension module. 

location

none 

A fully qualified or relative path to the directory to which the contents of the .jar or .war file have been extracted. If relative, it is relative to the following directory:

domain-dir/applications/

module-type

none 

Specifies a String that identifies the extension module type, which the runtime uses to find the appropriate add-on container. When an extension module is registered with the Enterprise Server, the Enterprise Server specifies the module type automatically.

object-type

user

(optional) Defines the type of the resource. For an extension module, the only allowed value is user.

enabled

true

(optional) Determines whether the extension module is enabled. 

libraries

none 

(optional) Specifies an absolute or relative path to libraries specific to this module or application. A relative path is relative to domain-dir/lib/applibs. If the path is absolute, the path must be accessible to the domain administration server (DAS), which means it must be under domain-dir. To include more than one path, use a system-specific separator, such as a colon for Solaris or a semicolon for Windows. The libraries are made available to the application in the order in which they are specified.

directory-deployed

false

(optional) Specifies whether the application has been deployed as a directory.