public final class ORBInitInfoImpl extends LocalObject implements ORBInitInfo, ORBInitInfoExt
| Modifier and Type | Field and Description |
|---|---|
static int |
STAGE_CLOSED |
static int |
STAGE_POST_INIT |
static int |
STAGE_PRE_INIT |
| Modifier and Type | Method and Description |
|---|---|
void |
add_client_request_interceptor_with_policy(ClientRequestInterceptor interceptor,
Policy[] policies) |
void |
add_client_request_interceptor(ClientRequestInterceptor interceptor)
This operation is used to add a client-side request Interceptor to
the list of client-side request Interceptors.
|
void |
add_ior_interceptor_with_policy(IORInterceptor interceptor,
Policy[] policies) |
void |
add_ior_interceptor(IORInterceptor interceptor)
This operation is used to add an IOR Interceptor to
the list of IOR Interceptors.
|
void |
add_server_request_interceptor_with_policy(ServerRequestInterceptor interceptor,
Policy[] policies) |
void |
add_server_request_interceptor(ServerRequestInterceptor interceptor)
This operation is used to add a server-side request Interceptor to
the list of server-side request Interceptors.
|
int |
allocate_slot_id()
A service calls allocate_slot_id to allocate a slot on
PortableInterceptor::Current.
|
String[] |
arguments()
This attribute contains the arguments passed to ORB_init.
|
CodecFactory |
codec_factory()
This attribute is the IOP::CodecFactory.
|
ORB |
getORB()
Return the ORB behind this ORBInitInfo.
|
String |
orb_id()
This attribute is the ID of the ORB being initialized
|
void |
register_initial_reference(String id,
Object obj)
See orbos/99-12-02, Chapter 11, Dynamic Initial References on page
11-81.
|
void |
register_policy_factory(int type,
PolicyFactory policy_factory)
Register a PolicyFactory for the given PolicyType.
|
Object |
resolve_initial_references(String id)
This operation is only valid during post_init.
|
_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_connectionclone, 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_overridepublic static final int STAGE_PRE_INIT
public static final int STAGE_POST_INIT
public static final int STAGE_CLOSED
public ORB getORB()
getORB in interface ORBInitInfoExtpublic String[] arguments()
arguments in interface ORBInitInfoOperationspublic String orb_id()
orb_id in interface ORBInitInfoOperationspublic CodecFactory codec_factory()
codec_factory in interface ORBInitInfoOperationspublic void register_initial_reference(String id, Object obj) throws InvalidName
This method may not be called during post_init.
register_initial_reference in interface ORBInitInfoOperationsInvalidNamepublic Object resolve_initial_references(String id) throws InvalidName
(incorporates changes from errata in orbos/00-01-01)
This method may not be called during pre_init.
resolve_initial_references in interface ORBInitInfoOperationsInvalidNamepublic void add_client_request_interceptor_with_policy(ClientRequestInterceptor interceptor, Policy[] policies) throws DuplicateName
DuplicateNamepublic void add_client_request_interceptor(ClientRequestInterceptor interceptor) throws DuplicateName
If a client-side request Interceptor has already been registered with this Interceptor's name, DuplicateName is raised.
add_client_request_interceptor in interface ORBInitInfoOperationsinterceptor - The ClientRequestInterceptor to be
added.DuplicateName - thrown if a client-side request Interceptor
has already been registered with this Interceptor's name.public void add_server_request_interceptor_with_policy(ServerRequestInterceptor interceptor, Policy[] policies) throws DuplicateName, PolicyError
DuplicateNamePolicyErrorpublic void add_server_request_interceptor(ServerRequestInterceptor interceptor) throws DuplicateName
If a server-side request Interceptor has already been registered with this Interceptor's name, DuplicateName is raised.
add_server_request_interceptor in interface ORBInitInfoOperationsinterceptor - The ServerRequestInterceptor to be added.DuplicateName - thrown if a server-side request Interceptor
has already been registered with this Interceptor's namepublic void add_ior_interceptor_with_policy(IORInterceptor interceptor, Policy[] policies) throws DuplicateName, PolicyError
DuplicateNamePolicyErrorpublic void add_ior_interceptor(IORInterceptor interceptor) throws DuplicateName
If an IOR Interceptor has already been registered with this Interceptor's name, DuplicateName is raised.
add_ior_interceptor in interface ORBInitInfoOperationsinterceptor - The IORInterceptor to be added.DuplicateName - thrown if an IOR Interceptor has already
been registered with this Interceptor's name.public int allocate_slot_id()
allocate_slot_id in interface ORBInitInfoOperationsCurrentpublic void register_policy_factory(int type,
PolicyFactory policy_factory)
If a PolicyFactory already exists for the given PolicyType, BAD_INV_ORDER is raised with a minor code of TBD_BIO+2.
register_policy_factory in interface ORBInitInfoOperationstype - The policy type that the given PolicyFactory
serves.policy_factory - The factory for the given policy type.Copyright © 2018 JBoss by Red Hat. All rights reserved.