Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

- Previous: ejb-timer-service
- Next: F

## external-jndi-resource

Defines a resource that resides in an external JNDI repository. For example, a generic Java object could be stored in an LDAP server. An external JNDI factory must implement the `javax.naming.spi.InitialContextFactory` interface.

### Superelements

resources

### Subelements

The following table describes subelements for the `external-jndi-resource` element.

Table 1–52 `external-jndi-resource` Subelements

Element | Required | Description
--- | --- | ---
description | zero or one | Contains a text description of this element.
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `external-jndi-resource` element.

Table 1–53 `external-jndi-resource` Attributes

Attribute | Default | Description
--- | --- | ---
`jndi-name` | none | Specifies the JNDI name for the resource.
`jndi-lookup-name` | none | Specifies the JNDI lookup name for the resource.
`res-type` | none | Specifies the fully qualified type of the resource.
`factory-class` | none | Specifies the fully qualified name of the factory class, which implements `javax.naming.spi.InitialContextFactory`. For more information about JNDI, see the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer’s Guide.
`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.
`enabled` | `true` | (optional) Determines whether this resource is enabled at runtime.

- Previous: ejb-timer-service
- Next: F

- © 2010, Oracle Corporation and/or its affiliates