Java EE 5 SDK

Package javax.resource.spi

The javax.resource.spi package contains APIs for the system contracts defined in the J2EE Connector Architecture specification.

See:
          Description

Interface Summary
ActivationSpec This interface serves as a marker.
BootstrapContext This provides a mechanism to pass a bootstrap context to a resource adapter instance when it is bootstrapped.
ConnectionEventListener The ConnectionEventListener interface provides an event callback mechanism to enable an application server to receive notifications from a ManagedConnection instance.
ConnectionManager ConnectionManager interface provides a hook for the resource adapter to pass a connection request to the application server.
ConnectionRequestInfo The ConnectionRequestInfo interface enables a resource adapter to pass its own request specific data structure across the connection request flow.
DissociatableManagedConnection This is a mix-in interface that may be optionally implemented by a ManagedConnection implementation.
LazyAssociatableConnectionManager This is a mix-in interface that may be optionally implemented by a ConnectionManager implementation.
LazyEnlistableConnectionManager This is a mix-in interface that may be optionally implemented by a ConnectionManager implementation.
LazyEnlistableManagedConnection This is a mix-in interface that may be optionally implemented by a ManagedConnection implementation.
LocalTransaction LocalTransaction interface provides support for transactions that are managed internal to an EIS resource manager, and do not require an external transaction manager.
ManagedConnection ManagedConnection instance represents a physical connection to the underlying EIS.
ManagedConnectionFactory ManagedConnectionFactory instance is a factory of both ManagedConnection and EIS-specific connection factory instances.
ManagedConnectionMetaData The ManagedConnectionMetaData interface provides information about the underlying EIS instance associated with a ManagedConnection instance.
ResourceAdapter This represents a resource adapter instance and contains operations for lifecycle management and message endpoint setup.
ResourceAdapterAssociation This interface specifies the methods to associate a ResourceAdapter object with other objects that implement this interface like ManagedConnectionFactory and ActivationSpec.
ValidatingManagedConnectionFactory This interface is implemented by a ManagedConnectionFactory instance that supports the ability to validate ManagedConnection objects.
XATerminator The XATerminator interface is used for transaction completion and crash recovery flows.
 

Class Summary
ConnectionEvent 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.
 

Exception Summary
ApplicationServerInternalException An ApplicationServerInternalException is thrown by an application server to indicate error conditions specific to an application server.
CommException This indicates errors related to failed or interrupted communication with an EIS instance.
EISSystemException An EISSystemException is used to indicate any EIS specific system-level error conditions.
IllegalStateException An IllegalStateException 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.
InvalidPropertyException This exception is thrown to indicate invalid configuration property settings.
LocalTransactionException A LocalTransactionException represents various error conditions related to the local transaction management contract.
ResourceAdapterInternalException A ResourceAdapterInternalException indicates any system-level error conditions related to a resource adapter.
ResourceAllocationException A ResourceAllocationException can be thrown by an application server or resource adapter to indicate any failure to allocate system resources (example: threads, physical connections).
SecurityException A SecurityException indicates error conditions related to the security contract between an application server and resource adapter.
SharingViolationException This is thrown to indicate a connection sharing violation.
UnavailableException This is thrown to indicate that a service is unavailable.
 

Package javax.resource.spi Description

The javax.resource.spi package contains APIs for the system contracts defined in the J2EE Connector Architecture specification.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.