Package javax.resource
Annotation Interface AdministeredObjectDefinition
Annotation used to define a Connector administered object to be registered in JNDI.
Once defined, a resource may be referenced by a component using the lookup element of the Resource annotation.
- Since:
- 1.7
- See Also:
-
javax.annotation.Resource
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe fully qualified domain name of the administered object class.JNDI name of the administrered object resource being defined.The name of the resource adapter that the administered object must be created from. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDescription of the resource.The fully qualified domain name of the administered object interface class.String[]
Properties of the administered object.
-
Element Details
-
name
String nameJNDI name of the administrered object resource being defined. -
resourceAdapter
String resourceAdapterThe name of the resource adapter that the administered object must be created from. The resource adapter is required to be available at deployment time. -
className
String classNameThe fully qualified domain name of the administered object class.
-
-
-
description
String descriptionDescription of the resource.- Default:
- ""
-
interfaceName
String interfaceNameThe fully qualified domain name of the administered object interface class.- Default:
- ""
-
properties
String[] propertiesProperties of the administered object. These properties may be vendor-specific properties. Vendor-specific properties may be combined with or used to override the administered object properties defined using this annotation. Administered object properties that are specified and are not supported in a given resource adapter or cannot be mapped to a vendor specific configuration property may be ignored.- Default:
- {}
-