Condividi tramite


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)

Parametri

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.

Valore restituito

An Object value.

Eccezioni

java.sql.SQLException

Osservazioni

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

Vedere anche

Riferimento

SQLServerDataSourceObjectFactory Class

Concetti

SQLServerDataSourceObjectFactory Methods
SQLServerDataSourceObjectFactory Members