org.jacorb.orb.portableInterceptor

Class ORBInitInfoImpl

Implemented Interfaces:
IDLEntity, Object, ORBInitInfo, ORBInitInfoOperations, java.io.Serializable

public class ORBInitInfoImpl
extends LocalObject
implements ORBInitInfo

This class represents the type of info object that will be passed to the ORBInitializers.
See PI Spec p. 9-70ff

Version:
$Id: ORBInitInfoImpl.java,v 1.12 2004/05/06 12:40:00 nicolas Exp $

Author:
Nicolas Noffke

Constructor Summary

ORBInitInfoImpl(ORB orb)

Method Summary

void
add_client_request_interceptor(ClientRequestInterceptor interceptor)
void
add_ior_interceptor(IORInterceptor interceptor)
void
add_server_request_interceptor(ServerRequestInterceptor interceptor)
int
allocate_slot_id()
String[]
arguments()
CodecFactory
codec_factory()
Vector
getClientInterceptors()
Vector
getIORInterceptors()
ORB
getORB()
This method is for interceptors that need access to the ORB.
Hashtable
getPolicyFactories()
Vector
getServerInterceptors()
int
getSlotCount()
String
orb_id()
void
register_initial_reference(String id, Object obj)
void
register_policy_factory(int type, PolicyFactory policy_factory)
Object
resolve_initial_references(String id)
void
setInvalid()

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection

Constructor Details

ORBInitInfoImpl

public ORBInitInfoImpl(ORB orb)

Method Details

add_client_request_interceptor

public void add_client_request_interceptor(ClientRequestInterceptor interceptor)
            throws DuplicateName
Specified by:
add_client_request_interceptor in interface ORBInitInfoOperations


add_ior_interceptor

public void add_ior_interceptor(IORInterceptor interceptor)
            throws DuplicateName
Specified by:
add_ior_interceptor in interface ORBInitInfoOperations


add_server_request_interceptor

public void add_server_request_interceptor(ServerRequestInterceptor interceptor)
            throws DuplicateName
Specified by:
add_server_request_interceptor in interface ORBInitInfoOperations


allocate_slot_id

public int allocate_slot_id()
Specified by:
allocate_slot_id in interface ORBInitInfoOperations


arguments

public String[] arguments()
Specified by:
arguments in interface ORBInitInfoOperations


codec_factory

public CodecFactory codec_factory()
Specified by:
codec_factory in interface ORBInitInfoOperations


getClientInterceptors

public Vector getClientInterceptors()


getIORInterceptors

public Vector getIORInterceptors()


getORB

public ORB getORB()
This method is for interceptors that need access to the ORB. Be careful with that since there is a reason, why there is no other way to get acces to the ORB.


getPolicyFactories

public Hashtable getPolicyFactories()


getServerInterceptors

public Vector getServerInterceptors()


getSlotCount

public int getSlotCount()


orb_id

public String orb_id()
Specified by:
orb_id in interface ORBInitInfoOperations


register_initial_reference

public void register_initial_reference(String id,
                                       Object obj)
            throws InvalidName


register_policy_factory

public void register_policy_factory(int type,
                                    PolicyFactory policy_factory)
Specified by:
register_policy_factory in interface ORBInitInfoOperations


resolve_initial_references

public Object resolve_initial_references(String id)
            throws InvalidName


setInvalid

public void setInvalid()