## Uses of Class
org.omg.PortableServer.POAPackage.WrongAdapter

- Packages that use WrongAdapter
  Package | Description
  --- | ---
  org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.
  org.omg.PortableServer.POAPackage | Allows programmers to construct object implementations that are portable between different ORB products.

- - ### Uses of WrongAdapter in org.omg.PortableServer

    Methods in org.omg.PortableServer that throw WrongAdapter
    Modifier and Type | Method | Description
    --- | --- | ---
    `byte[]` | POAOperations.`reference_to_id(Object reference)` This operation returns the Object Id value encapsulated by the specified reference.
    `Servant` | POAOperations.`reference_to_servant(Object reference)` If the POA has the RETAIN policy and the specified object is present in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map.

  - ### Uses of WrongAdapter in org.omg.PortableServer.POAPackage

    Methods in org.omg.PortableServer.POAPackage that return WrongAdapter
    Modifier and Type | Method | Description
    --- | --- | ---
    `static WrongAdapter` | WrongAdapterHelper.`extract(Any a)`
    `static WrongAdapter` | WrongAdapterHelper.`read(InputStream istream)`

    Methods in org.omg.PortableServer.POAPackage with parameters of type WrongAdapter
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | WrongAdapterHelper.`insert(Any a, WrongAdapter that)`
    `static void` | WrongAdapterHelper.`write(OutputStream ostream, WrongAdapter value)`

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.