Package javax.resource.spi
package javax.resource.spi
The javax.resource.spi package contains APIs for the system
contracts defined in the Java EE Connector Architecture 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.AnApplicationServerInternalException
is 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.TheConnectionEventListener
interface provides an event callback mechanism to enable an application server to receive notifications from aManagedConnection
instance.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.TheConnector
annotation 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 aManagedConnection
implementation.AnEISSystemException
is used to indicate any EIS specific system-level error conditions.AnIllegalStateException
is 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 aConnectionManager
implementation.This is a mix-in interface that may be optionally implemented by aConnectionManager
implementation.This is a mix-in interface that may be optionally implemented by aManagedConnection
implementation.LocalTransaction interface provides support for transactions that are managed internal to an EIS resource manager, and do not require an external transaction manager.ALocalTransactionException
represents 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 aResourceAdapter
object with other objects that implement this interface likeManagedConnectionFactory
andActivationSpec
.AResourceAdapterInternalException
indicates any system-level error conditions related to a resource adapter.AResourceAllocationException
can 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 theUnavailableException
that indicates that the rejection of the work submission is transient.ASecurityException
indicates 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 aManagedConnectionFactory
to 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 aManagedConnectionFactory
instance that supports the ability to validateManagedConnection
objects.The XATerminator interface is used for transaction completion and crash recovery flows.