Package com.sun.corba.se.spi.orb
Class ORB
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
- All Implemented Interfaces:
TypeCodeFactory,Broker
- Direct Known Subclasses:
ORBImpl,ORBSingleton
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanprotected MonitoringManagerbooleanprotected OMGSystemExceptionbooleanstatic booleanbooleanbooleanbooleanbooleanbooleanprotected static ORBUtilSystemExceptionbooleanbooleanbooleanprotected ORBUtilSystemException -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidvoiddestroy()Destroys the ORB so that its resources can be reclaimed.abstract voidget_primitive_tc(int kind) abstract ClientDelegateFactoryabstract CopierManagerabstract CorbaContactInfoListFactoryabstract CorbaTransportManagerabstract IORabstract LegacyServerSocketManagerabstract LocalResolverGet the LocalResolver used in this ORB.Returns the logger based on the category.getLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory) get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance.abstract ObjectKeyFactoryabstract ORBDataabstract ORBVersionabstract PIHandlerstatic PresentationManagerReturns the Presentation Manager for the current thread group, using the ThreadGroup-specific AppContext to hold it.abstract RequestDispatcherRegistryabstract ResolverGet the resolver used in this ORB.abstract ServiceContextRegistryGet the appropriate StubFactoryFactory.abstract TaggedComponentFactoryFinderFactory finders for the various parts of the IOR: tagged components, tagged profiles, and tagged profile templates.abstract IdentifiableFactoryFinderabstract IdentifiableFactoryFinderabstract ThreadPoolManagerabstract intReturn this ORB's transient server ID.getTypeCode(String id) abstract OperationGet the operation used in string_to_object calls.abstract voidhandleBadServerId(ObjectKey okey) Handle a bad server id for the given object key.abstract voidabstract booleanabstract booleanisLocalHost(String hostName) abstract booleanisLocalServerId(int subcontractId, int serverId) abstract voidabstract OAInvocationInfoabstract OAInvocationInfoabstract voidabstract voidset_parameters(Properties props) abstract voidsetBadServerIdHandler(BadServerIdHandler handler) abstract voidabstract voidabstract voidsetINSDelegate(CorbaServerRequestDispatcher insDelegate) Set the ServerRequestDispatcher that should be used for handling INS requests.abstract voidsetLocalResolver(LocalResolver resolver) Set the LocalResolver used in this ORB.abstract voidsetObjectKeyFactory(ObjectKeyFactory factory) abstract voidsetORBVersion(ORBVersion version) abstract voidsetResolver(Resolver resolver) Set the resolver used in this ORB.abstract voidvoidsetTypeCode(String id, TypeCodeImpl code) abstract voidsetURLOperation(Operation stringToObject) Set the operation used in string_to_object calls.abstract voidstatic LoggerstaticGetLogger(String domain) static LogWrapperBasestaticGetLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory) get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance.Methods inherited from class com.sun.corba.se.org.omg.CORBA.ORB
register_initial_referenceMethods inherited from class org.omg.CORBA_2_3.ORB
get_value_def, lookup_value_factory, register_value_factory, set_delegate, unregister_value_factoryMethods inherited from class 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, 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_pendingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.corba.se.pept.broker.Broker
createOrIncrementInvocationInfo, getInvocationInfo, getTransportManager, releaseOrDecrementInvocationInfoMethods inherited from interface com.sun.corba.se.impl.corba.TypeCodeFactory
getTypeCodeForClass, setTypeCodeForClass
-
Field Details
-
ORBInitDebug
public static boolean ORBInitDebug -
transportDebugFlag
public boolean transportDebugFlag -
subcontractDebugFlag
public boolean subcontractDebugFlag -
poaDebugFlag
public boolean poaDebugFlag -
poaConcurrencyDebugFlag
public boolean poaConcurrencyDebugFlag -
poaFSMDebugFlag
public boolean poaFSMDebugFlag -
orbdDebugFlag
public boolean orbdDebugFlag -
namingDebugFlag
public boolean namingDebugFlag -
serviceContextDebugFlag
public boolean serviceContextDebugFlag -
transientObjectManagerDebugFlag
public boolean transientObjectManagerDebugFlag -
giopVersionDebugFlag
public boolean giopVersionDebugFlag -
shutdownDebugFlag
public boolean shutdownDebugFlag -
giopDebugFlag
public boolean giopDebugFlag -
invocationTimingDebugFlag
public boolean invocationTimingDebugFlag -
staticWrapper
-
wrapper
-
omgWrapper
-
monitoringManager
-
-
Constructor Details
-
ORB
protected ORB()
-
-
Method Details
-
isLocalHost
-
isLocalServerId
public abstract boolean isLocalServerId(int subcontractId, int serverId) -
peekInvocationInfo
-
pushInvocationInfo
-
popInvocationInfo
-
getCorbaTransportManager
-
getLegacyServerSocketManager
-
destroy
public void destroy()Description copied from class:ORBDestroys the ORB so that its resources can be reclaimed. Any operation invoked on a destroyed ORB reference will throw theOBJECT_NOT_EXISTexception. Once an ORB has been destroyed, another call toinitwith the same ORBid will return a reference to a newly constructed ORB.If
destroyis called on an ORB that has not been shut down, it will start the shut down process and block until the ORB has shut down before it destroys the ORB.
If an application callsdestroyin a thread that is currently servicing an invocation, theBAD_INV_ORDERsystem exception will be thrown with the OMG minor code 3, since blocking would result in a deadlock.For maximum portability and to avoid resource leaks, an application should always call
shutdownanddestroyon all ORB instances before exiting. -
getPresentationManager
Returns the Presentation Manager for the current thread group, using the ThreadGroup-specific AppContext to hold it. Creates and records one if needed. -
getStubFactoryFactory
Get the appropriate StubFactoryFactory. This will be dynamic or static depending on whether com.sun.CORBA.ORBUseDynamicStub is true or false. -
get_primitive_tc
-
setTypeCode
- Specified by:
setTypeCodein interfaceTypeCodeFactory
-
getTypeCode
- Specified by:
getTypeCodein interfaceTypeCodeFactory
-
getMonitoringManager
-
set_parameters
-
getORBVersion
-
setORBVersion
-
getFVDCodeBaseIOR
-
handleBadServerId
Handle a bad server id for the given object key. This should always through an exception: either a ForwardException to allow another server to handle the request, or else an error indication. XXX Remove after ORT for ORBD work is integrated. -
setBadServerIdHandler
-
initBadServerIdHandler
public abstract void initBadServerIdHandler() -
notifyORB
public abstract void notifyORB() -
getPIHandler
-
checkShutdownState
public abstract void checkShutdownState() -
isDuringDispatch
public abstract boolean isDuringDispatch() -
startingDispatch
public abstract void startingDispatch() -
finishedDispatch
public abstract void finishedDispatch() -
getTransientServerId
public abstract int getTransientServerId()Return this ORB's transient server ID. This is needed for initializing object adapters. -
getServiceContextRegistry
-
getRequestDispatcherRegistry
-
getORBData
-
setClientDelegateFactory
-
getClientDelegateFactory
-
setCorbaContactInfoListFactory
-
getCorbaContactInfoListFactory
-
setResolver
Set the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references. -
getResolver
Get the resolver used in this ORB. This resolver will be used for list_initial_services and resolve_initial_references. -
setLocalResolver
Set the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only. -
getLocalResolver
Get the LocalResolver used in this ORB. This LocalResolver is used for register_initial_reference only. -
setURLOperation
Set the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object. -
getURLOperation
Get the operation used in string_to_object calls. The Operation must expect a String and return an org.omg.CORBA.Object. -
setINSDelegate
Set the ServerRequestDispatcher that should be used for handling INS requests. -
getTaggedComponentFactoryFinder
Factory finders for the various parts of the IOR: tagged components, tagged profiles, and tagged profile templates. -
getTaggedProfileFactoryFinder
-
getTaggedProfileTemplateFactoryFinder
-
getObjectKeyFactory
-
setObjectKeyFactory
-
getLogger
Returns the logger based on the category. -
staticGetLogger
-
getLogWrapper
public LogWrapperBase getLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory) get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance. -
staticGetLogWrapper
public static LogWrapperBase staticGetLogWrapper(String logDomain, String exceptionGroup, LogWrapperFactory factory) get the log wrapper class (its type is dependent on the exceptionGroup) for the given log domain and exception group in this ORB instance. -
getByteBufferPool
-
setThreadPoolManager
-
getThreadPoolManager
-
getCopierManager
-