Package jakarta.resource.spi
package jakarta.resource.spi
The jakarta.resource.spi package contains APIs for the system
contracts defined in the Jakarta Connectors specification.
-
ClassDescriptionDesignates a JavaBean as an
ActivationSpec.This interface serves as a marker.Designates a JavaBean as an administered object.Administered objects are specific to a messaging style or message provider.AnApplicationServerInternalExceptionis thrown by an application server to indicate error conditions specific to an application server.An enumerated type that represents the various interfaces that a resource adapter may support for the representation of the credentials.This provides a mechanism to pass a bootstrap context to a resource adapter instance when it is bootstrapped.This indicates errors related to failed or interrupted communication with an EIS instance.Designates a JavaBean property as a configuration propertyDefines a set of connection interfaces and classes pertaining to a particular connection type.Defines a set of connection definitions that the JavaBean, that has been annotated with this annotation, is a part of.The ConnectionEvent class provides information about the source of a connection related event.A ConnectionEvent instance contains the following information: Type of the connection event ManagedConnection instance that generated the connection event.TheConnectionEventListenerinterface provides an event callback mechanism to enable an application server to receive notifications from aManagedConnectioninstance.ConnectionManager interface provides a hook for the resource adapter to pass a connection request to the application server.The ConnectionRequestInfo interface enables a resource adapter to pass its own request specific data structure across the connection request flow.TheConnectorannotation is a component-defining annotation and it can be used by the resource adapter developer to specify that the JavaBean is a resource adapter JavaBean.This is a mix-in interface that may be optionally implemented by aManagedConnectionimplementation.AnEISSystemExceptionis used to indicate any EIS specific system-level error conditions.AnIllegalStateExceptionis thrown from a method if the callee (resource adapter or application server for system contracts) is in an illegal or inappropriate state for the method invocation.This exception is thrown to indicate invalid configuration property settings.This is a mix-in interface that may be optionally implemented by aConnectionManagerimplementation.This is a mix-in interface that may be optionally implemented by aConnectionManagerimplementation.This is a mix-in interface that may be optionally implemented by aManagedConnectionimplementation.LocalTransaction interface provides support for transactions that are managed internal to an EIS resource manager, and do not require an external transaction manager.ALocalTransactionExceptionrepresents various error conditions related to the local transaction management contract.ManagedConnection instance represents a physical connection to the underlying EIS.ManagedConnectionFactory instance is a factory of both ManagedConnection and EIS-specific connection factory instances.The ManagedConnectionMetaData interface provides information about the underlying EIS instance associated with a ManagedConnection instance.This represents a resource adapter instance and contains operations for lifecycle management and message endpoint setup.This interface specifies the methods to associate aResourceAdapterobject with other objects that implement this interface likeManagedConnectionFactoryandActivationSpec.AResourceAdapterInternalExceptionindicates any system-level error conditions related to a resource adapter.AResourceAllocationExceptioncan be thrown by an application server or resource adapter to indicate any failure to allocate system resources (example: threads, physical connections).A marker interface indicating that the Exception is transient.A subclass of theUnavailableExceptionthat indicates that the rejection of the work submission is transient.ASecurityExceptionindicates error conditions related to the security contract between an application server and resource adapter.The SecurityPermission annotation can be used by the developer, as part of the Connector annotation, to specify the extended security permissions required by the resource adapterThis is thrown to indicate a connection sharing violation.This interface may be optionally implemented by aManagedConnectionFactoryto provide its level of transaction support at runtime.An enumerated type that represents the levels of transaction support a resource adapter may support.This is thrown to indicate that a service is unavailable.This interface is implemented by aManagedConnectionFactoryinstance that supports the ability to validateManagedConnectionobjects.The XATerminator interface is used for transaction completion and crash recovery flows.