Package jakarta.resource
Annotation Interface AdministeredObjectDefinition
@Retention(RUNTIME)
@Target(TYPE)
@Repeatable(AdministeredObjectDefinitions.class)
public @interface AdministeredObjectDefinition
Annotation used to define a Connector administered object to be
registered in JNDI.
Once defined, an administered object may be referenced
by a component using the
lookup
element of the
Resource
annotation.- Since:
- 1.7
- See Also:
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDescription of the administered object.Fully qualified name of the administered object’s interfaceString[]
Properties of the administered object.
-
Element Details
-
name
String nameJNDI name of the administered object being defined.- Returns:
- name
-
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.- Returns:
- resource adapter
-
className
String classNameFully qualified name of the administered object’s class- Returns:
- className
-
-
-
description
String descriptionDescription of the administered object.- Returns:
- description
- Default:
- ""
-
interfaceName
String interfaceNameFully qualified name of the administered object’s interface- Returns:
- fully qualified name
- 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.- Returns:
- properties of the administered object.
- Default:
- {}
-