Save This Page
Home » openjdk-7 » com.sun.corba.se.impl » orb » [javadoc | source]
com.sun.corba.se.impl.orb
public class: ORBImpl [javadoc | source]
java.lang.Object
   org.omg.CORBA.ORB
      org.omg.CORBA_2_3.ORB
         com.sun.corba.se.org.omg.CORBA.ORB
            com.sun.corba.se.spi.orb.ORB
               com.sun.corba.se.impl.orb.ORBImpl

All Implemented Interfaces:
    Broker, TypeCodeFactory

Direct Known Subclasses:
    ORB, PIORB, POAORB

The JavaIDL ORB implementation.
Field Summary
protected  TransportManager transportManager     
protected  LegacyServerSocketManager legacyServerSocketManager     
Fields inherited from com.sun.corba.se.spi.orb.ORB:
ORBInitDebug,  transportDebugFlag,  subcontractDebugFlag,  poaDebugFlag,  poaConcurrencyDebugFlag,  poaFSMDebugFlag,  orbdDebugFlag,  namingDebugFlag,  serviceContextDebugFlag,  transientObjectManagerDebugFlag,  giopVersionDebugFlag,  shutdownDebugFlag,  giopDebugFlag,  invocationTimingDebugFlag,  staticWrapper,  wrapper,  omgWrapper,  byteBufferPool,  globalPM
Constructor:
 public ORBImpl() 
Method from com.sun.corba.se.impl.orb.ORBImpl Summary:
checkShutdownState,   connect,   createOrIncrementInvocationInfo,   create_abstract_interface_tc,   create_alias_tc,   create_any,   create_array_tc,   create_context_list,   create_enum_tc,   create_environment,   create_exception_list,   create_exception_tc,   create_fixed_tc,   create_interface_tc,   create_list,   create_named_value,   create_native_tc,   create_operation_list,   create_output_stream,   create_policy,   create_recursive_sequence_tc,   create_recursive_tc,   create_sequence_tc,   create_string_tc,   create_struct_tc,   create_union_tc,   create_value_box_tc,   create_value_tc,   create_wstring_tc,   destroy,   disconnect,   finishedDispatch,   getClientDelegateFactory,   getCopierManager,   getCorbaContactInfoListFactory,   getCorbaTransportManager,   getFVDCodeBaseIOR,   getInvocationInfo,   getLegacyServerSocketManager,   getLocalResolver,   getORBData,   getORBVersion,   getObjectKeyFactory,   getPIHandler,   getRequestDispatcherRegistry,   getResolver,   getServiceContextRegistry,   getTaggedComponentFactoryFinder,   getTaggedProfileFactoryFinder,   getTaggedProfileTemplateFactoryFinder,   getThreadPoolManager,   getTransientServerId,   getTransportManager,   getTypeCodeForClass,   getURLOperation,   get_current,   get_default_context,   get_next_response,   get_primitive_tc,   handleBadServerId,   initBadServerIdHandler,   isDuringDispatch,   isLocalHost,   isLocalServerId,   list_initial_services,   lookup_value_factory,   notifyORB,   object_to_string,   peekInvocationInfo,   perform_work,   poll_next_response,   popInvocationInfo,   pushInvocationInfo,   register_initial_reference,   register_value_factory,   releaseOrDecrementInvocationInfo,   resolve_initial_references,   run,   send_multiple_requests_deferred,   send_multiple_requests_oneway,   setBadServerIdHandler,   setClientDelegateFactory,   setCorbaContactInfoListFactory,   setDebugFlags,   setINSDelegate,   setLocalResolver,   setORBVersion,   setObjectKeyFactory,   setResolver,   setThreadPoolManager,   setTypeCodeForClass,   setURLOperation,   set_delegate,   set_parameters,   set_parameters,   set_parameters,   shutdown,   shutdownServants,   startingDispatch,   string_to_object,   unregister_value_factory,   work_pending
Methods from com.sun.corba.se.spi.orb.ORB:
checkShutdownState,   finishedDispatch,   getByteBufferPool,   getClientDelegateFactory,   getCopierManager,   getCorbaContactInfoListFactory,   getCorbaTransportManager,   getFVDCodeBaseIOR,   getLegacyServerSocketManager,   getLocalResolver,   getLogWrapper,   getLogger,   getMonitoringManager,   getORBData,   getORBVersion,   getObjectKeyFactory,   getPIHandler,   getPresentationManager,   getRequestDispatcherRegistry,   getResolver,   getServiceContextRegistry,   getStubFactoryFactory,   getTaggedComponentFactoryFinder,   getTaggedProfileFactoryFinder,   getTaggedProfileTemplateFactoryFinder,   getThreadPoolManager,   getTransientServerId,   getTypeCode,   getURLOperation,   get_primitive_tc,   handleBadServerId,   initBadServerIdHandler,   isDuringDispatch,   isLocalHost,   isLocalServerId,   notifyORB,   peekInvocationInfo,   popInvocationInfo,   pushInvocationInfo,   setBadServerIdHandler,   setClientDelegateFactory,   setCorbaContactInfoListFactory,   setINSDelegate,   setLocalResolver,   setORBVersion,   setObjectKeyFactory,   setResolver,   setThreadPoolManager,   setTypeCode,   setURLOperation,   set_parameters,   startingDispatch,   staticGetLogWrapper,   staticGetLogger
Methods from com.sun.corba.se.org.omg.CORBA.ORB:
register_initial_reference
Methods from org.omg.CORBA_2_3.ORB:
get_value_def,   lookup_value_factory,   register_value_factory,   set_delegate,   unregister_value_factory
Methods from org.omg.CORBA.ORB:
connect,   create_abstract_interface_tc,   create_alias_tc,   create_any,   create_array_tc,   create_basic_dyn_any,   create_context_list,   create_dyn_any,   create_dyn_array,   create_dyn_enum,   create_dyn_sequence,   create_dyn_struct,   create_dyn_union,   create_enum_tc,   create_environment,   create_exception_list,   create_exception_tc,   create_fixed_tc,   create_interface_tc,   create_list,   create_named_value,   create_native_tc,   create_operation_list,   create_output_stream,   create_policy,   create_recursive_sequence_tc,   create_recursive_tc,   create_sequence_tc,   create_string_tc,   create_struct_tc,   create_union_tc,   create_value_box_tc,   create_value_tc,   create_wstring_tc,   destroy,   disconnect,   get_current,   get_default_context,   get_next_response,   get_primitive_tc,   get_service_information,   init,   init,   init,   list_initial_services,   object_to_string,   perform_work,   poll_next_response,   resolve_initial_references,   run,   send_multiple_requests_deferred,   send_multiple_requests_oneway,   set_parameters,   set_parameters,   shutdown,   string_to_object,   work_pending
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.corba.se.impl.orb.ORBImpl Detail:
 public  void checkShutdownState() 
 public synchronized  void connect(Object servant) 
    This is the implementation of the public API used to connect a servant-skeleton to the ORB.
 public ClientInvocationInfo createOrIncrementInvocationInfo() 
 public synchronized TypeCode create_abstract_interface_tc(String id,
    String name) 
 public synchronized TypeCode create_alias_tc(String id,
    String name,
    TypeCode original_type) 
    Create a TypeCode for an alias.
 public synchronized Any create_any() 
    Create a new Any
 public synchronized TypeCode create_array_tc(int length,
    TypeCode element_type) 
    Create a TypeCode for an array.
 public synchronized ContextList create_context_list() 
    Create a ContextList
 public synchronized TypeCode create_enum_tc(String id,
    String name,
    String[] members) 
    Create a TypeCode for an enum.
 public synchronized Environment create_environment() 
    Create an Environment
 public synchronized ExceptionList create_exception_list() 
    Create an ExceptionList
 public synchronized TypeCode create_exception_tc(String id,
    String name,
    StructMember[] members) 
    Create a TypeCode for an exception.
 public synchronized TypeCode create_fixed_tc(short digits,
    short scale) 
 public synchronized TypeCode create_interface_tc(String id,
    String name) 
    Create a TypeCode for an interface.
 public synchronized NVList create_list(int count) 
    Create an NVList
 public synchronized NamedValue create_named_value(String s,
    Any any,
    int flags) 
    Create a NamedValue
 public synchronized TypeCode create_native_tc(String id,
    String name) 
 public synchronized NVList create_operation_list(Object oper) 
    Create an NVList corresponding to an OperationDef
 public synchronized OutputStream create_output_stream() 
    The following methods are standard public CORBA ORB APIs
 public synchronized Policy create_policy(int type,
    Any val) throws PolicyError 
 public synchronized TypeCode create_recursive_sequence_tc(int bound,
    int offset) 
    Create a recursive TypeCode in a sequence.
 public synchronized TypeCode create_recursive_tc(String id) 
 public synchronized TypeCode create_sequence_tc(int bound,
    TypeCode element_type) 
    Create a TypeCode for a sequence.
 public synchronized TypeCode create_string_tc(int bound) 
    Create a TypeCode for a string.
 public synchronized TypeCode create_struct_tc(String id,
    String name,
    StructMember[] members) 
    Create a TypeCode for a structure.
 public synchronized TypeCode create_union_tc(String id,
    String name,
    TypeCode discriminator_type,
    UnionMember[] members) 
    Create a TypeCode for a union.
 public synchronized TypeCode create_value_box_tc(String id,
    String name,
    TypeCode boxed_type) 
 public synchronized TypeCode create_value_tc(String id,
    String name,
    short type_modifier,
    TypeCode concrete_base,
    ValueMember[] members) 
 public synchronized TypeCode create_wstring_tc(int bound) 
    Create a TypeCode for a wide string.
 public synchronized  void destroy() 
    formal/99-10-07 p 159: "If destroy is called on an ORB that has not been shut down, it will start the shutdown process and block until the ORB has shut down before it destroys the ORB."
 public synchronized  void disconnect(Object obj) 
 public  void finishedDispatch() 
 public ClientDelegateFactory getClientDelegateFactory() 
 public CopierManager getCopierManager() 
 public synchronized CorbaContactInfoListFactory getCorbaContactInfoListFactory() 
 public CorbaTransportManager getCorbaTransportManager() 
 public synchronized IOR getFVDCodeBaseIOR() 
 public ClientInvocationInfo getInvocationInfo() 
 public LegacyServerSocketManager getLegacyServerSocketManager() 
 public LocalResolver getLocalResolver() 
    Get the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only.
 public ORBData getORBData() 
 public ORBVersion getORBVersion() 
 public ObjectKeyFactory getObjectKeyFactory() 
 public PIHandler getPIHandler() 
 public RequestDispatcherRegistry getRequestDispatcherRegistry() 
 public Resolver getResolver() 
    Get the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references.
 public ServiceContextRegistry getServiceContextRegistry() 
 public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder() 
 public IdentifiableFactoryFinder getTaggedProfileFactoryFinder() 
 public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder() 
 public ThreadPoolManager getThreadPoolManager() 
 public int getTransientServerId() 
 public TransportManager getTransportManager() 
 public synchronized TypeCodeImpl getTypeCodeForClass(Class c) 
 public Operation getURLOperation() 
    Get the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object.
 public synchronized Current get_current() 
Deprecated!
    Get a Current pseudo-object. The Current interface is used to manage thread-specific information for use by the transactions, security and other services. This method is deprecated, and replaced by ORB.resolve_initial_references("NameOfCurrentObject");
 public synchronized Context get_default_context() 
    Get the default Context object
 public Request get_next_response() throws WrongTransaction 
    Get the next request that has gotten a response.
 public synchronized TypeCode get_primitive_tc(TCKind tcKind) 
    Get the TypeCode for a primitive type.
 public  void handleBadServerId(ObjectKey okey) 
 public  void initBadServerIdHandler() 
 public boolean isDuringDispatch() 
 public boolean isLocalHost(String hostName) 
 public boolean isLocalServerId(int subcontractId,
    int serverId) 
 public String[] list_initial_services() 
    Get a list of the initially available CORBA services. This does not work unless an ORBInitialHost is specified during initialization (or unless there is an ORB running on the AppletHost) since the localhostname is inaccessible to applets. If a service properties URL was specified, then it is used, otherwise the bootstrapping protocol is used.
 public synchronized ValueFactory lookup_value_factory(String repositoryID) 
    Finds and returns a value factory for the given repository ID. The value factory returned was previously registered by a call to #register_value_factory or is the default factory.
 public  void notifyORB() 
    Notify response to ORB for get_next_response
 public synchronized String object_to_string(Object obj) 
    Convert an object ref to a string.
 public OAInvocationInfo peekInvocationInfo() 
 public synchronized  void perform_work() 
    This method does nothing. It is not required by the spec to do anything!
 public synchronized boolean poll_next_response() 
    Find out if any of the deferred invocations have a response yet.
 public OAInvocationInfo popInvocationInfo() 
 public  void pushInvocationInfo(OAInvocationInfo info) 
 public  void register_initial_reference(String id,
    Object obj) throws InvalidName 
    If this operation is called with an id, "Y", and an object, YY, then a subsequent call to ORB.resolve_initial_references( "Y" ) will return object YY.
 public synchronized ValueFactory register_value_factory(String repositoryID,
    ValueFactory factory) 
    Registers a value factory for a particular repository ID.
 public  void releaseOrDecrementInvocationInfo() 
 public Object resolve_initial_references(String identifier) throws InvalidName 
    Resolve the stringified reference of one of the initially available CORBA services.
 public  void run() 
    The following methods (introduced in POA / CORBA2.1) deal with shutdown / single threading.
 public synchronized  void send_multiple_requests_deferred(Request[] req) 
    Send multiple dynamic requests asynchronously.
 public synchronized  void send_multiple_requests_oneway(Request[] req) 
 public  void setBadServerIdHandler(BadServerIdHandler handler) 
 public  void setClientDelegateFactory(ClientDelegateFactory factory) 
 public  void setCorbaContactInfoListFactory(CorbaContactInfoListFactory factory) 
 protected  void setDebugFlags(String[] args) 
 public  void setINSDelegate(CorbaServerRequestDispatcher sdel) 
 public  void setLocalResolver(LocalResolver resolver) 
    Set the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only.
 public  void setORBVersion(ORBVersion verObj) 
 public  void setObjectKeyFactory(ObjectKeyFactory factory) 
 public  void setResolver(Resolver resolver) 
    Set the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references.
 public  void setThreadPoolManager(ThreadPoolManager mgr) 
 public synchronized  void setTypeCodeForClass(Class c,
    TypeCodeImpl tci) 
 public  void setURLOperation(Operation stringToObject) 
    Set the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object.
 public synchronized  void set_delegate(Object servant) 
 public  void set_parameters(Properties props) 
 protected  void set_parameters(Applet app,
    Properties props) 
 protected  void set_parameters(String[] params,
    Properties props) 
 public  void shutdown(boolean wait_for_completion) 
 protected  void shutdownServants(boolean wait_for_completion) 
    This method shuts down the ORB and causes orb.run() to return. It will cause all POAManagers to be deactivated, which in turn will cause all POAs to be deactivated.
 public  void startingDispatch() 
 public Object string_to_object(String str) 
    Convert a stringified object reference to the object it represents.
 public synchronized  void unregister_value_factory(String repositoryID) 
    Unregisters a value factory for a particular repository ID.
 public synchronized boolean work_pending() 
    This method always returns false because the ORB never needs the main thread to do work.