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_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 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 ORBInitInfoExt
public String[] arguments()
arguments
in interface ORBInitInfoOperations
public String orb_id()
orb_id
in interface ORBInitInfoOperations
public CodecFactory codec_factory()
codec_factory
in interface ORBInitInfoOperations
public void register_initial_reference(String id, Object obj) throws InvalidName
This method may not be called during post_init.
register_initial_reference
in interface ORBInitInfoOperations
InvalidName
public 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 ORBInitInfoOperations
InvalidName
public void add_client_request_interceptor_with_policy(ClientRequestInterceptor interceptor, Policy[] policies) throws DuplicateName
DuplicateName
public 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 ORBInitInfoOperations
interceptor
- 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
DuplicateName
PolicyError
public 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 ORBInitInfoOperations
interceptor
- 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
DuplicateName
PolicyError
public 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 ORBInitInfoOperations
interceptor
- 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 ORBInitInfoOperations
Current
public 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 ORBInitInfoOperations
type
- The policy type that the given PolicyFactory
serves.policy_factory
- The factory for the given policy type.Copyright © 2016 JBoss by Red Hat. All rights reserved.