Referenceable (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.resource Interface Referenceable

所有父接口:
Referenceable
所有已知子接口:
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.

版本:
0.9
作者:
Rahul Sharma

方法摘要
 void setReference(Reference reference)
          Sets the Reference instance.
 
Methods inherited from interface javax.naming.Referenceable
getReference
 

方法详细信息

setReference

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).

参数:
reference - A Reference instance
另请参见:
Referenceable.getReference()

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.