|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SleeConnectionFactory
A factory interface allowing the creation of SleeConnection instances. This is modelled as a Connector Architecture non-CCI connection factory interface. A SLEE vendor provides an implementation of this interface if they support external interoperability.
An implementation of SleeConnectionFactory is expected to hold all the information necessary to create connections on demand and will be bound into JNDI. An EJB application retrieves the SleeConnectionFactory from JNDI and uses it to create SleeConnection objects as needed.
Implementations of SleeConnectionFactory that are packaged as part of a
Connector Architecture Resource Adaptor should additionally implement
Serializable and Referenceable, as
described in the Connector Architecture specification.
SleeConnection| Method Summary | |
|---|---|
SleeConnection |
getConnection()
Return a SleeConnection object that corresponds to a connection to the SLEE this factory is associated with. |
| Method Detail |
|---|
SleeConnection getConnection()
throws javax.resource.ResourceException
javax.resource.ResourceException - if a SleeConnection cannot be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||