当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
Referenceable (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档
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 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.
setReference
public void setReference(Reference reference)
- Sets the reference instance
- Parameters:
reference
- the reference
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.