public final class IORInfoImpl extends LocalObject implements IORInfo, IORInfoExt
Modifier and Type | Method and Description |
---|---|
ObjectReferenceTemplate |
adapter_template()
Return the object reference template of the object adapter
that was just created and is running IOR interceptors.
|
void |
add_ior_component_to_profile(TaggedComponent tagged_component,
int profile_id)
A portable ORB service implementation calls this method from its
implementation of establish_components to add a tagged component to
the set which will be included when constructing IORs.
|
void |
add_ior_component(TaggedComponent tagged_component)
A portable ORB service implementation calls this method from its
implementation of establish_components to add a tagged component to
the set which will be included when constructing IORs.
|
ObjectReferenceFactory |
current_factory()
On read, returns the current factory that will be used to create
object references for the object adapter that was just created
and is running IOR interceptors.
|
void |
current_factory(ObjectReferenceFactory factory)
On read, returns the current factory that will be used to create
object references for the object adapter that was just created
and is running IOR interceptors.
|
Policy |
get_effective_policy(int type)
An ORB service implementation may determine what server side policy
of a particular type is in effect for an IOR being constructed by
calling the get_effective_policy operation.
|
ObjectAdapter |
getObjectAdapter() |
int |
getServerPort(String type) |
int |
manager_id()
Return the adapter manager id of the object adapter
that was just created and is running IOR interceptors.
|
short |
state()
Return the adapter state of the object adapter
that was just created and is running IOR interceptors.
|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
public Policy get_effective_policy(int type)
If a policy for the given type is not known to the ORB, then this operation will raise INV_POLICY with a standard minor code of 2.
get_effective_policy
in interface IORInfoOperations
type
- The CORBA::PolicyType specifying the type of policy to
return.public void add_ior_component(TaggedComponent tagged_component)
Any number of components may exist with the same component ID.
add_ior_component
in interface IORInfoOperations
tagged_component
- The IOP::TaggedComponent to addpublic void add_ior_component_to_profile(TaggedComponent tagged_component, int profile_id)
Any number of components may exist with the same component ID.
If the given profile ID does not define a known profile or it is impossible to add components to thgat profile, BAD_PARAM is raised with a minor code of TBD_BP + 3.
add_ior_component_to_profile
in interface IORInfoOperations
tagged_component
- The IOP::TaggedComponent to add.profile_id
- The IOP::ProfileId tof the profile to which this
component will be added.public int getServerPort(String type) throws UnknownType
getServerPort
in interface IORInfoExt
type
- The type of the server port
(see connection.ORBSocketFactory for discussion).UnknownType
- if no port of the given type is found.public ObjectAdapter getObjectAdapter()
getObjectAdapter
in interface IORInfoExt
public int manager_id()
IORInfoOperations
manager_id
in interface IORInfoOperations
public short state()
IORInfoOperations
state
in interface IORInfoOperations
public ObjectReferenceTemplate adapter_template()
IORInfoOperations
adapter_template
in interface IORInfoOperations
public ObjectReferenceFactory current_factory()
IORInfoOperations
current_factory
in interface IORInfoOperations
public void current_factory(ObjectReferenceFactory factory)
IORInfoOperations
current_factory
in interface IORInfoOperations
Copyright © 2019 JBoss by Red Hat. All rights reserved.