## Uses of Interface
javax.naming.spi.ObjectFactory

- Packages that use ObjectFactory
  Package | Description
  --- | ---
  javax.naming.spi |

- - ### Uses of ObjectFactory in javax.naming.spi

    Subinterfaces of ObjectFactory in javax.naming.spi
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `DirObjectFactory` This interface represents a factory for creating an object given an object and attributes about the object.

    Methods in javax.naming.spi that return ObjectFactory
    Modifier and Type | Method | Description
    --- | --- | ---
    `ObjectFactory` | ObjectFactoryBuilder.`createObjectFactory(Object obj, Hashtable<?,?> environment)` Creates a new object factory using the environment supplied.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.