org.jacorb.orb.portableInterceptor
Class ORBInitInfoImpl

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.orb.portableInterceptor.ORBInitInfoImpl
All 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.13 2004/10/18 11:07:31 simon.mcqueen Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

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()
           
 java.lang.String[] arguments()
           
 CodecFactory codec_factory()
           
 java.util.Vector getClientInterceptors()
           
 java.util.Vector getIORInterceptors()
           
 ORB getORB()
          This method is for interceptors that need access to the ORB.
 java.util.Hashtable getPolicyFactories()
           
 java.util.Vector getServerInterceptors()
           
 int getSlotCount()
           
 java.lang.String orb_id()
           
 void register_initial_reference(java.lang.String id, Object obj)
           
 void register_policy_factory(int type, PolicyFactory policy_factory)
           
 Object resolve_initial_references(java.lang.String id)
           
 void setInvalid()
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

ORBInitInfoImpl

public ORBInitInfoImpl(ORB orb)
Method Detail

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.


setInvalid

public void setInvalid()

getClientInterceptors

public java.util.Vector getClientInterceptors()

getServerInterceptors

public java.util.Vector getServerInterceptors()

getIORInterceptors

public java.util.Vector getIORInterceptors()

getPolicyFactories

public java.util.Hashtable getPolicyFactories()

getSlotCount

public int getSlotCount()

add_client_request_interceptor

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

add_ior_interceptor

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

add_server_request_interceptor

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

allocate_slot_id

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

arguments

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

codec_factory

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

orb_id

public java.lang.String orb_id()
Specified by:
orb_id in interface ORBInitInfoOperations

register_initial_reference

public void register_initial_reference(java.lang.String id,
                                       Object obj)
                                throws InvalidName
Specified by:
register_initial_reference in interface ORBInitInfoOperations
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(java.lang.String id)
                                  throws InvalidName
Specified by:
resolve_initial_references in interface ORBInitInfoOperations
Throws:
InvalidName