站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

Referenceable (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.resource
Interface Referenceable

All Superinterfaces:
Referenceable
All Known Subinterfaces:
ConnectionFactory

public interface Referenceable
extends Referenceable

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.

Version:
0.9
Author:
Rahul Sharma

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

Method Detail

setReference

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 - A Reference instance
See Also:
Referenceable.getReference()

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.