org.omg.PortableInterceptor
public interface ORBInitInfoOperations
Method Summary | |
---|---|
void | add_client_request_interceptor(ClientRequestInterceptor interceptor)
Register the client request interceptor.
|
void | add_ior_interceptor(IORInterceptor interceptor)
Register the IOR (object reference) interceptor. |
void | add_server_request_interceptor(ServerRequestInterceptor interceptor)
Register the server request interceptor.
|
int | allocate_slot_id()
Allocate a slot on a {@link Current} of this interceptor. |
String[] | arguments()
Returns the arguments passed to the ORB.init.
|
CodecFactory | codec_factory()
Get the CodecFactory that may be needed during the interceptor
initialization. |
String | orb_id()
Returns the ID of the ORB being initialized.
|
void | register_initial_reference(String object_name, Object object)
Register the initial reference. |
void | register_policy_factory(int policy_type, PolicyFactory policy_factory)
Registers a PolicyFactory for the given PolicyType.
|
Object | resolve_initial_references(String object_name)
Identical to {@link org.omg.CORBA.ORB#resolve_initial_references}.
|
Parameters: interceptor the interceptor to register.
Throws: DuplicateName if the interceptor name is not an empty string and an interceptor with this name is already registered with the ORB being created.
Parameters: interceptor the interceptor to register.
Throws: DuplicateName if the interceptor name is not an empty string and an interceptor with this name is already registered with the ORB being created.
Parameters: interceptor the interceptor to register.
Throws: DuplicateName if the interceptor name is not an empty string and an interceptor with this name is already registered with the ORB being created.
Returns: the index to the slot that has been allocated.
Returns: the first parameter, passed to the methods from the group org.omg.CORBA.ORB#init(String[], ...).
Returns: the CodecFactory.
Returns: the ORB id that differs for each new ORB being created during the current run of the java virtual machine.
Parameters: object_name the name of the object to register. object the object to register.
Throws: org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName if the name being registered is assumed to be invalid.
Parameters: policy_type the type of policy for that the factory is being registered. policy_factory the policy factory to register.
Throws: BAD_INV_ORDER minor 16 if the policy of the given type already has the registered factory in this ORB.
Parameters: object_name the name of the object to search.
Returns: the object, accessible by the given name.
Throws: org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidName if the given name is not associated with the known object.
See Also: ORB