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)

Parameters

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.

Return Value

An Object value.

Exceptions

java.sql.SQLException

Remarks

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

See Also

Reference

SQLServerDataSourceObjectFactory Class

Concepts

SQLServerDataSourceObjectFactory Methods
SQLServerDataSourceObjectFactory Members