Share via


getObjectInstance Method (SQLServerDataSourceObjectFactory)

Retrieves an instance of the specified data source object.

public java.lang.Object getObjectInstance(java.lang.Object ref,
                                          javax.naming.Name name,
                                          javax.naming.Context c,
                                          java.util.Hashtable h)

Parámetros

ref

An Object value.

name

The name of the object.

c

The context relative to the specified name.

h

The environment that is used in creating the object.

Valor devuelto

An Object value.

Excepciones

java.sql.SQLException

Notas

This getObjectInstance method is specified by the getObjectInstance method in the javax.naming.spi.ObjectFactory interface.

Vea también

Referencia

SQLServerDataSourceObjectFactory Class

Conceptos

SQLServerDataSourceObjectFactory Methods
SQLServerDataSourceObjectFactory Members