Sun GlassFish Enterprise Server v3 Domain File Format Reference

R

registry-location

This element is deprecated. Web services are implemented in the engine element.

Specifies the registry where web service endpoint artifacts are published.

Superelements

web-service-endpoint

Subelements

none

Attributes

The following table describes attributes for the registry-location element.

Table 1–137 registry-location Attributes

Attribute 

Default 

Description 

connector-resource-jndi-name

none 

Specifies the jndi-name of the connector-resource used as the registry.

request-policy

Defines the authentication policy requirements of the authentication provider’s request processing.

Superelements

provider-config

Subelements

none

Attributes

The following table describes attributes for the request-policy element.

Table 1–138 request-policy Attributes

Attribute 

Default 

Description 

auth-source

none 

Specifies the type of required authentication, either sender (user name and password) or content (digital signature).

auth-recipient

none 

Specifies whether recipient authentication occurs before or after content authentication. Allowed values are before-content and after-content.

request-processing

This element is not supported. If this element is present in the domain.xml file, its attributes are remapped to other elements and then it is deleted. For remapping details, see the Attributes table for this element.

Superelements

http-service

Subelements

none

Attributes

The following table describes attributes for the request-processing element.

Table 1–139 request-processing Attributes

Attribute 

Default 

Description 

thread-count

20

Remapped to the max-thread-pool-size attribute of a thread-pool element.

initial-thread-count

2

Remapped to the min-thread-pool-size attribute of a thread-pool element.

thread-increment

1

Not implemented. Do not use. 

request-timeout-in-seconds

30

Remapped to the request-timeout-seconds attribute of an http element.

header-buffer-length-in-bytes

8192

Remapped to the header-buffer-length-bytes attribute of an http element.

resource-adapter-config

Defines a connector (resource adapter) configuration. Stores configuration information for the resource adapter JavaBean in property subelements.

Superelements

resources

Subelements

The following table describes subelements for the resource-adapter-config element.

Table 1–140 resource-adapter-config Subelements

Element 

Required 

Description 

property

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the resource-adapter-config element.

Table 1–141 resource-adapter-config Attributes

Attribute 

Default 

Description 

name

none 

(optional) Not used. See resource-adapter-name.

thread-pool-ids

none 

(optional) Specifies a comma-separated list of the name attributes of thread-pool elements.

object-type

user

(optional) Defines the type of the resource. Allowed values are: 

  • system-all - A system resource for all server instances and the domain application server.

  • system-admin - A system resource only for the domain application server.

  • system-instance - A system resource for all server instances only.

  • user - A user resource.

resource-adapter-name

none 

Specifies the name attribute of a deployed connector application element. If the resource adapter is embedded in an application, then it is app_name#rar_name.

Properties

Properties of the resource-adapter-config element are the names of setter methods of the class referenced by the resourceadapter-class element in the ra.xml file, which defines the class name of the resource adapter JavaBean. Any properties defined here override the default values present in ra.xml.

resource-ref

References a resource deployed to the server.

Superelements

server

Subelements

none

Attributes

The following table describes attributes for the resource-ref element.

Table 1–142 resource-ref Attributes

Attribute 

Default 

Description 

enabled

true

(optional) Determines whether the resource is enabled. 

ref

none 

References the name attribute of a custom-resource, external-jndi-resource, jdbc-resource, mail-resource, admin-object-resourceresource-adapter-config, connector-connection-pool, or jdbc-connection-pool element.

resources

Contains configured resources, such as database connections, JavaMailTM sessions, and so on.


Note –

You must specify a Java Naming and Directory InterfaceTM (JNDI) name for each resource. To avoid collisions with names of other enterprise resources in JNDI, and to avoid portability problems, all names in an Enterprise Server application should begin with the string java:comp/env.


Superelements

domain

Subelements

The following table describes subelements for the resources element.

Table 1–143 resources Subelements

Element 

Required 

Description 

custom-resource

zero or more 

Defines a custom resource. 

external-jndi-resource

zero or more 

Defines a resource that resides in an external JNDI repository. 

jdbc-resource

zero or more 

Defines a JDBC (Java Database Connectivity) resource. 

mail-resource

zero or more 

Defines a JavaMail resource. 

admin-object-resource

zero or more 

Defines an administered object for an inbound resource adapter. 

connector-resource

zero or more 

Defines a connector (resource adapter) resource. 

resource-adapter-config

zero or more 

Defines a resource adapter configuration. 

jdbc-connection-pool

zero or more 

Defines the properties that are required for creating a JDBC connection pool. 

connector-connection-pool

zero or more 

Defines the properties that are required for creating a connector connection pool. 

work-security-map

zero or more 

Defines a work security map. 


Note –

Subelements of a resources element can occur in any order.


response-policy

Defines the authentication policy requirements of the authentication provider’s response processing.

Superelements

provider-config

Subelements

none

Attributes

The following table describes attributes for the response-policy element.

Table 1–144 response-policy Attributes

Attribute 

Default 

Description 

auth-source

none 

Specifies the type of required authentication, either sender (user name and password) or content (digital signature).

auth-recipient

none 

Specifies whether recipient authentication occurs before or after content authentication. Allowed values are before-content and after-content.