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.
|
Modifier and Type | Method and Description |
---|---|
void |
POAOperations.activate_object_with_id(byte[] id,
Servant p_servant)
This operation enters an association between the
specified Object Id and the specified servant in the
Active Object Map.
|
byte[] |
POAOperations.activate_object(Servant p_servant)
This operation generates an Object Id and enters
the Object Id and the specified servant in the
Active Object Map.
|
Object |
POAOperations.create_reference(String intf)
This operation creates an object reference that
encapsulates a POA-generated Object Id value and
the specified interface repository id.
|
void |
POAOperations.deactivate_object(byte[] oid)
This operation causes the ObjectId specified in the
oid parameter to be deactivated.
|
ServantManager |
POAOperations.get_servant_manager()
If the ServantRetentionPolicy of the POA is RETAIN,
then the ServantManager argument (imgr) shall support
the ServantActivator interface.
|
Servant |
POAOperations.get_servant()
This operation returns the default servant associated
with the POA.
|
Object |
POAOperations.id_to_reference(byte[] oid)
If an object with the specified Object Id value is
currently active, a reference encapsulating the
information used to activate the object is returned.
|
Servant |
POAOperations.id_to_servant(byte[] oid)
If the POA has the RETAIN policy and the specified
ObjectId is in the Active Object Map, this operation
returns the servant associated with that object in
the Active Object Map.
|
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.
|
byte[] |
POAOperations.servant_to_id(Servant p_servant)
This operation has four possible behaviors.
|
Object |
POAOperations.servant_to_reference(Servant p_servant)
This operation requires the RETAIN policy and either
the UNIQUE_ID or IMPLICIT_ACTIVATION policies if
invoked outside the context of an operation dispatched
by this POA.
|
void |
POAOperations.set_servant_manager(ServantManager imgr)
This operation sets the default servant manager
associated with the POA.
|
void |
POAOperations.set_servant(Servant p_servant)
This operation registers the specified servant with
the POA as the default servant.
|
Modifier and Type | Method and Description |
---|---|
static WrongPolicy |
WrongPolicyHelper.extract(Any a) |
static WrongPolicy |
WrongPolicyHelper.read(InputStream istream) |
Modifier and Type | Method and Description |
---|---|
static void |
WrongPolicyHelper.insert(Any a,
WrongPolicy that) |
static void |
WrongPolicyHelper.write(OutputStream ostream,
WrongPolicy 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, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.