javax.resource
Interface Referenceable

All Superinterfaces:
javax.naming.Referenceable
All Known Subinterfaces:
ConnectionFactory (src) , DirContextFactory (src)
All Known Implementing Classes:
DirContextFactoryImpl (src) , JmsConnectionFactoryImpl (src) , JmsSessionFactoryImpl (src) , TestConnectionFactory (src) , WrapperDataSource (src)

public interface Referenceable
extends javax.naming.Referenceable

The Referenceable interface extends the javax.naming.Referenceable interface. It enables support for the JNDI Reference mechanism for the registration of the connection factory in the JNDI name space. Note that the implementation and structure of a Reference is specific to an application server. The implementation class for a connection factory interface is required to implement both the java.io.Serializable and the javax.resource.Referenceable interfaces to support JNDI registration.


Method Summary
 void setReference(javax.naming.Reference reference)
          Sets the reference instance
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

Method Detail

setReference

public void setReference(javax.naming.Reference reference)
Sets the reference instance

Parameters:
reference - the reference