Top Description Methods
javax.resource

public Interface Referenceable

extends Referenceable
Known Direct Subinterfaces
javax.resource.cci.ConnectionFactory
Imports
javax.naming.Reference

The Referenceable interface extends the javax.naming.Referenceable interface. It enables support for JNDI Reference mechanism for the registration of the connection factory in the JNDI name space. Note that the implementation and structure of Reference is specific to an application server.

The implementation class for a connection factory interface is required to implement both java.io.Serializable and javax.resource.Referenceable interfaces to support JNDI registration.

Author
Rahul Sharma
Version
0.9

Method Summary

Modifier and TypeMethod and Description
public void
setReference(Reference
A Reference instance
reference
)

Sets the Reference instance.

Inherited from javax.naming.Referenceable:
getReference

Method Detail

setReferenceback to summary
public void setReference(Reference reference)

Sets the Reference instance. This method is called by the deployment code to set the Reference that can be later returned by the getReference method (as defined in the javax.naming.Referenceable interface).

Parameters
reference:Reference

A Reference instance

See Also
javax.naming.Referenceable#getReference