|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packageorg.omg.CORBAas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Extracts theClass Any, BigDecimal extract_fixed()Principalobject in thisAnyobject'svaluefield. Note that the classPrincipalhas been deprecated. @return thePrincipalobject stored in thisAnyobject @exception BAD_OPERATION if thisAnyobject contains something other than aPrincipalobject or thevaluefield has not yet been set @seeCORBApackage comments for unimplemented features @deprecated Deprecated by CORBA 2.2.
Extracts theClass Any, void insert_Principal(Principal)java.math.BigDecimalobject in thisAnyobject'svaluefield. @return thejava.math.BigDecimalobject stored in thisAnyobject @exception BAD_OPERATION if thisAnyobject contains something other than ajava.math.BigDecimalobject or thevaluefield has not yet been set @seeCORBApackage comments for unimplemented features
Inserts the givenClass Any, void insert_Streamable(Streamable)Principalobject into thisAnyobject'svaluefield. Note that the classPrincipalhas been deprecated. @param p thePrincipalobject to insert into thisAnyobject @seeCORBApackage comments for unimplemented features @deprecated Deprecated by CORBA 2.2.
Inserts the givenClass Any, void insert_fixed(BigDecimal, TypeCode)Streamableobject into thisAnyobject'svaluefield. This method allows the insertion of non-primitive IDL types. @param s theStreamableobject to insert into thisAnyobject; may be a non-primitive IDL type @seeCORBApackage comments for unimplemented features
Throws anClass Any, void write_value(OutputStream)org.omg.CORBA.NO_IMPLEMENTexception.Inserts the given
java.math.BigDecimalobject into thisAnyobject'svaluefield. @param value thejava.math.BigDecimalobject to insert into thisAnyobject @param type theTypeCodeobject that is to be inserted into thisAnyobject'stypefield and that describes thejava.math.BigDecimalobject being inserted @throws org.omg.CORBA.BAD_INV_ORDER if this method is invoked improperly @seeCORBApackage comments for unimplemented features
Writes out the value of thisAnyobject to the given output stream.theIf bothtypecode andvalueofneedthisto be written useAnycreate_output_stream()objectto create anOutputStreamthen usewrite_anyon theOutputStream.If this method is called on an
Anyobject that has not had a value inserted into itsvaluefield it will throw the exceptionjava.lang.NullPointerException. @param os theorg.omg.CORBA.portable.OutputStreamobject into which to marshal the valueand typecodeof thisAnyobject
The Holder for Any. For more information on Holder files see "Generated Files: Holder Files".A Holder class for
Anyobjects that is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLanyas an "out" or "inout" parameter the programmer must pass an instance ofAnyHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myAnyHolderis an instance ofAnyHolderthe value stored in itsvaluefield can be accessed withmyAnyHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for AnySeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/AnySeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for AnySeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/AnySeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
The CORBAException thrownBAD_CONTEXTwhenexception whichan operation isthrowninvokedwhen there is an error processingby a client but the passedacontext does not contain the contextobjectvalues required by the operation.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
TheThisCORBA BAD_INV_ORDERexceptionwhichindicates thatis thrown when methods are called out ofthe caller has invoked operations in the wrong order. For example it can be raised by an ORB if an application makes an ORB-related call without having correctly initialized the ORB first.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.18 09/09/97 @since JDK1.2
The CORBAException thrownBAD_OPERATIONwhenexception which is thrown whenan object reference denotes anaexisting object but that the object does not support the operationmethod is invalidthat was invoked.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
The CORBAException thrownBAD_PARAMwhenexceptionawhichparameter passed to a call isthrown when an invalid parameter isout of range or otherwise considered illegal. An ORB may raise this exception if null values or null pointers are passed to an operation (for language mappings where the concept of a null pointers or null values applies). BAD_PARAM can also be raised as a result of amethodclient generating requests with incorrect parameters using the DII.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @see meaning of minor codes @version 1.18 09/09/97 @since JDK1.2
BAD_POLICYAisPolicyErrorCodeone of the PolicyErrorCodeswhich would be filled in the PolicyError exception. @author rip-dev @version 1.7 0211 12/0203/0001
BAD_POLICY_TYPEAisPolicyErrorCodeone of the PolicyErrorCodeswhich would be filled in the PolicyError exception. @author rip-dev @version 1.7 0211 12/0203/0001
Contains the value used to indicate a policy value that is incorrect for a valid policy type in a call to thecreate_policymethod defined in the ORB class. @version 1.7 0210 12/0203/0001
The CORBAException thrownBAD_TYPECODEwhenexception which is thrown whenthe ORB has encountered athemalformed typespecifiedcode (for example atypecodetypeiscode with an invalid TCKind value).It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
The Holder for Boolean. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
booleanthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLbooleanas an "out" or "inout" parameter the programmer must pass an instance ofBooleanHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myBooleanHolderis an instance ofBooleanHolderthe value stored in itsvaluefield can be accessed withmyBooleanHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for BooleanSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/BooleanSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for BooleanSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/BooleanSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
A user exception thrown when a parameter is not within the legal bounds for the object that a method is trying to access. @see documentation on Java IDL exceptions
The Holder for Byte. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
bytethat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLoctetas an "out" or "inout" parameter the programmer must pass an instance ofByteHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myByteHolderis an instance ofByteHolderthe value stored in itsvaluefield can be accessed withmyByteHolder.value. @version 1.14 09/09/97 @since JDK1.2
The CORBAThis exceptionCOMM_FAILUREisexceptionraisedwhichif communication isthrownlost whilewhen therean operation isaincommunicationprogress after the request was sent by thefailureclient but before the reply from the server has been returned to the client.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section meaning of minor codes to see the minor codes for this exception. @see meaning of minor codes @version 1.17 09/09/97 @since JDK1.2
The Holder for Char. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
charthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLcharas an "out" or "inout" parameter the programmer must pass an instance ofCharHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myCharHolderis an instance ofCharHolderthe value stored in itsvaluefield can be accessed withmyCharHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for CharSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/CharSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for CharSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/CharSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
The Helper for CompletionStatus. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/CompletionStatusHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" 03 June 1999 11:52:03 o'clock GMT+00:00
Retrieves theClass Context, void set_values(NVList)NamedValueobjects whosenamefield matches the given name or name pattern. This method allows for wildcard searches which means that there can be multiple matches and therefore multiple values returned. If the property is not found at the indicated level the search continues up the context object tree until a match is found or allContextobjects in the chain have been exhausted.If no match is found an error is returned and no property list is returned. @param start_scope a
Stringobject indicating the context object level at which to initiate the search for the specified properties (for example "_USER" "_GROUP" "_SYSTEM"). Valid scope names are implementation-specific. If a scope name is omitted the search begins with the specified context object. If the specified scope name is not found an exception is returned. @param op_flags an operation flag. The one flag that may be specified isCTX_RESTRICT_SCOPE. If this flag is specified searching is limited to the specifiedstart_scopeor thisContextobject. @param pattern the property name whose values are to be retrieved.patternmay be a name or a name with a trailing wildcard character ("*"). @return anNVListcontaining all the property values (in the form ofNamedValueobjects) whose associated property name matches the given name or name pattern @see #set_values @see org.omg.CORBA.NamedValue
I Sets one or more property values in thisContextobject. TheNVListsupplied to this method contains one or moreNamedValueobjects. In eachNamedValueobject thenamefield holds the name of the property and theflagsfield must be set to zero. TheNamedValueobject'svaluefield contains anAnyobject which in turn contains the value for the property. Since the value is always a string theAnyobject must have thekindfield of itsTypeCodeset toTCKind.tk_string. @param values an NVList containing the property names and associated values to be set @see #get_values @see org.omg.CORBA.NamedValue @see org.omg.CORBA.Any
Interfaces derived from the Current interface enable ORB and CORBA services to provide access to information (context) associated with the thread of execution in which they are running. This information is accessed in a structured manner using interfaces derived from the Current interface defined in the CORBA module.Each ORB or CORBA service that needs its own context derives an interface from the CORBA module's Current. Users of the service can obtain an instance of the appropriate Current interface by invoking ORB::resolve_initial_references.
org/omg/CORBA/Current.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl Saturday July 17 1999 12:26:21 AM PDT.
The Helper for Current. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/CurrentHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl Saturday July 17 1999 12:26:21 AM PDT
The Holder for Current. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/CurrentHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl Saturday July 17 1999 12:26:21 AM PDT
The interface for Current. For more information on Operations interfaces see "Generated Files". org/omg/CORBA/CurrentOperations.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl Saturday July 17 1999 12:26:21 AM PDT.
The CustomMarshal is anAn abstract value type that is meant to be used by the ORB not the user. Semantically it is treated as a custom valuetype's implicit base class although the custom valutype does not actually inherit it in IDL. The implementer of a custom value type shall provide an implementation of the CustomMarshal operations. The manner in which this is done is specified in the IDL to Java langague mapping. Each custom marshaled value type shall have its own implementation. @see DataOuputStream @see DataInputStream
TheThisCORBAexception is raised if an ORB cannot convert the representation of data as marshaled into its native representation or vice-versa. For example DATA_CONVERSIONexception which is thrown when there is a data conversioncan be raised if wide character codeset conversion fails orerrorif an ORB cannot convert floating point values between different representations.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section meaning of minor codes to see the minor codes for this exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
Defines the methods used to read primitive data types from input streams for unmarshaling custom value types. This interface is used by user written custom unmarshaling code for custom value types. @see org.omg.CORBA.DataOutputStream @see org.omg.CORBA.CustomMarshal @version 1.6 028 12/0203/0001
Defines the methods used to write primitive data types to output streams for marshalling custom value types. This interface is used by user written custom marshalling code for custom value types. @see org.omg.CORBA.DataInputStream @see org.omg.CORBA.CustomMarshal @version 1.8 0210 12/0203/0001
The Helper for DefinitionKind. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/DefinitionKindHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ir.idl 03 June 1999 11:33:43 o'clock GMT+00:00
Provides mechanisms for establishing and navigating relationships to superior and subordinate domains as well as for creating and accessing policies. The DomainManager has associated with it the policy objects for a particular domain. The domain manager also records the membership of the domain and provides the means to add and remove members. The domain manager is itself a member of a domain possibly the domain it manages. The domain manager provides mechanisms for establishing and navigating relationships to superior and subordinate domains and creating and accessing policies.
Provides the DomainManager with the means to access policies.Class DomainManagerOperations, Policy get_domain_policy(int)The DomainManager has associated with it the policy objects for a particular domain. The domain manager also records the membership of the domain and provides the means to add and remove members. The domain manager is itself a member of a domain possibly the domain it manages. The domain manager provides mechanisms for establishing and navigating relationships to superior and subordinate domains and creating and accessing policies.
This returns the policy of the specified type for objects in this domain. The types of policies available are domain specific. See the CORBA specification for a list of standard ORB policies. @param policy_type Type of policy to request
The Holder for Double. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
doublethat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLdoubleas an "out" or "inout" parameter the programmer must pass an instance ofDoubleHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myDoubleHolderis an instance ofDoubleHolderthe value stored in itsvaluefield can be accessed withmyDoubleHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for DoubleSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/DoubleSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:37 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for DoubleSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/DoubleSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:37 o'clock GMT+00:00
Enables org.omg.CORBA.Any valuescanto be dynamically interpreted (traversed) and constructedthrough DynAny objects. A DynAny object is associated with a data value which may correspond to a copy of the value inserted into an Any. The DynAny APIs enable traversal of the data value associated with an Any at runtime and extraction of the primitive constituents of the data value.
TheRepresentsDynArray interface representsa DynAny objectwhich isassociated with an array.
TheRepresentsDynEnum interface representsa DynAny objectwhich isassociated with an IDL enum.
Class DynamicImplementation, void invoke(ServerRequest)The base class for all object implementations using the DSI. It defines a single abstract method invoke that a dynamic servant needs to implement. DynamicImplementation has been deprecated by the OMG in favor of the Portable Object Adapter. @version 1.6 09/09/97@seedeprecated org.omg.CORBA.ServerRequest @since JDK1.2DynamicImplementation
Accepts a ServerRequest object and uses its methods to determine the request target operation and parameters and to set the result or exception.@deprecated Deprecated bythePortable Object Adapter. @param request a ServerRequest object representing the request to be invoked
TheExceptionCORBA FREE_MEM exception which isthrown when thesystemORB failed inis unablean attempt to free dynamic memory for example because of heap corruption or memory segments being locked.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
The Helper for FieldName. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/FieldNameHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" 03 June 1999 11:52:03 o'clock GMT+00:00
The Holder for Fixed. For more information on Holder files see "Generated Files: Holder Files".FixedHolder is a container class for values of IDL type "fixed" which is mapped to the Java class java.math.BigDecimal. It is usually used to store "out" and "inout" IDL method parameters. If an IDL method signature has a fixed as an "out" or "inout" parameter the programmer must pass an instance of FixedHolder as the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the contained value corresponding to the "out" value returned from the server. @version 1.14 09/09/97
The Holder for Float. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
floatthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLfloatas an "out" or "inout" parameter the programmer must pass an instance ofFloatHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myFloatHolderis an instance ofFloatHolderthe value stored in itsvaluefield can be accessed withmyFloatHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for FloatSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/FloatSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:37 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for FloatSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/FloatSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:37 o'clock GMT+00:00
The Helper for IDLType. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/IDLTypeHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ir.idl 03 June 1999 11:33:44 o'clock GMT+00:00
The CORBAThis exceptionIMP_LIMITindicatesexceptionthatwhichan implementationislimit wasthrown whenexceeded in theimplementationORBlimitrun time. For example an ORB may reach the maximum number of references it can hold simultaneously in an address space the size of a parameter may have exceeded the allowed maximum or an ORB may impose a maximum on the number of clients or servers thathas been violatedcan run simultaneously.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
TheExceptionCORBA INITIALIZEthrownexception which is thrown when there is an ORBwhen an ORB has encountered a failure during its initialization such as failure to acquire networking resources or detecting a configuration error.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.19 09/09/97 @since JDK1.2
Class INTERNAL, constructor INTERNAL()The CORBAThis exceptionINTERNALindicatesexception which isan internal failurethrownin an ORBwhen there isfor example if an ORB has detected corruption of its internalerrordata structures.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section meaning of minor codes to see the minor codes for this exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
Constructs anINTERNALexception with a default minor code of 0 and a completion state of COMPLETED_MAYBENO.
The CORBAException raisedINTF_REPOSwhenexception which is thrown when there isan ORB cannot reach the interface repositoryanor some othererror accessingfailure relating to the interface repository is detected.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
Class INVALID_TRANSACTION, constructor INVALID_TRANSACTION()TheExceptionCORBAthrown when the request carried an invalid transaction context.INVALID_TRANSACTIONFor example this exceptionwhich iscould bethrownraised if an error occurred whenthere is a transaction errortrying to register a resource.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.5 09/09/97 @since JDK1.2
Constructs anINVALID_TRANSACTIONexception with a default minor code of 0 and a completion state of COMPLETED_MAYBENO.
The CORBAException thrownINV_FLAGwhenexception which is thrown whenan invalid flag was passed to aninvalidoperationflag(for example when creating aisDIIspecifiedrequest).It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
The CORBAThis exceptionINV_IDENTindicatesexceptionthatwhichan IDL identifier isthrownsyntactically invalid. It may be raised if for example an identifier passed to the interface repositorywhendoes not conform to IDL identifier syntax or if an illegal operation name isinvalidused with the DII.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.16 09/09/97 @since JDK1.2
Class INV_OBJREF, constructor INV_OBJREF()The CORBAThis exceptionINV_OBJREFindicatesexceptionthatwhichan object reference isthrowninternallywhenmalformed.anFor example the repository ID may have incorrect syntax or the addressing information may be invalid. This exception is raised by ORB::string_to_objectreferenceif the passed string does not decode correctly. An ORB may choose to detect calls via nil references (but is not obliged to do detect them). INV_OBJREF isspecifiedused to indicate this.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section Minor Code Meanings to see the minor codes for this exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
Constructs anINV_OBJREFexception with a default minor code of 0 and a completion state of COMPLETED_MAYBENO.
TheStandardCORBA INV_POLICY standardexceptionwhich isthrown when an invocation cannot be made because of an incompatibility between Policy overrides that apply to the particular invocation. It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.5 09/09/97
This is the Operations interface for the mapping from IRObject. Several interfaces are used as base interfaces for objects in the Interface Repository (IR). These base interfaces are not instantiable. A common set of operations is used to locate objects within the Interface Repository. Some of these operations are defined in the IRObject. All IR objects inherit from the IRObject interface which provides an operation for identifying the actual type of the object. (The IDL base interface IRObject represents the most generic interface from which all other Interface Repository interfaces are derived even the Repository itself.) All java implementations of IR objects must implement the IRObjectOperations interface. @see IDLTypeOperations @see IDLType @see IRObjectClass IRObjectOperations, void destroy()
Destroys this object. If the object is a Container this method is applied to all its contents. If the object contains an IDLType attribute for an anonymous type that IDLType is destroyed. If the object is currently contained in some other object it is removed. If the method is invoked on aRepositoryor on aPrimitiveDefthen theBAD_INV_ORDERexception is raised with minor value 2. An attempt to destroy an object that would leave the repository in an incoherent state causesBAD_INV_ORDERexception to be raised with the minor code 1. @exception BAD_INV_ORDER if this method is invoked on a repository orPrimitiveDefor if an attempt to destroy an object would leave the repository in an incoherent state
The Helper for Identifier. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/IdentifierHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from ir.idl 03 June 1999 11:33:42 o'clock GMT+00:00
The Holder for Int. For more information on Holder files see "Generated Files: Holder Files".A Holder class for an
intthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLlongas an "out" or "inout" parameter the programmer must pass an instance ofIntHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myIntHolderis an instance ofIntHolderthe value stored in itsvaluefield can be accessed withmyIntHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Holder for Long. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a
longthat is used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has an IDLlong longas an "out" or "inout" parameter the programmer must pass an instance ofLongHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myLongHolderis an instance ofLongHolderthe value stored in itsvaluefield can be accessed withmyLongHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for LongLongSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/LongLongSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:37 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for LongLongSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/LongLongSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
The Helper for LongSeqHelper. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/LongSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for LongSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/LongSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
The CORBAA requestMARSHALorexceptionreplywhichfrom the network isthrownstructurally invalid. This error typically indicateswhena bug in either theORBclient-side or server-side run time. Forhasexample if aproblemreply from the server indicates that the message contains 1000 bytes but the actual message is shorter or longer than 1000 bytes the ORB raises this exception. MARSHAL can also be caused by using themarshallingDII orunmarshallingDSI incorrectly for example if the type of the actual parameters sent does not agree with IDL signature of an operation.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section Minor Code Meanings to see the minor codes for this exception. @version 1.18 09/09/97 @since JDK1.2
Class NO_IMPLEMENT, constructor NO_IMPLEMENT(String, int, CompletionStatus)TheThisCORBAexception indicates that even though the operation that was invoked exists (it has an IDL definition) no implementation for that operation exists. NO_IMPLEMENTexception which is thrown when the implementationcan for example be raised by anforORB if amethodclient asks for an object's type definition from the interface repository but no interface repository isnotprovided byavailablethe ORB.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section Minor Code Meanings to see the minor codes for this exception. @version 1.17 09/09/97 @since JDK1.2
Constructs aClass NO_IMPLEMENT, constructor NO_IMPLEMENT(int, CompletionStatus)NO_IMPLEMENTexception with the specified description message minor code and completion status. @param s the String containing a description message @param minor anintspecifying the minor code @param completed aCompletionStatusinstance indicating the completion status
Constructs aNO_IMPLEMENTexception with the specified minor code and completion status. @param minor anintspecifying the minor code @param completed aCompletionStatusinstance indicating the completion status
TheExceptionCORBA NO_MEMORY exception which may bethrownby either the client or the serverwhenthere is not enough memory for a dynamicthe ORB run time has run out of memoryallocation.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.18 09/09/97 @since JDK1.2
TheExceptionCORBA NO_PERMISSION exception which isthrownif thewhenclient does not have permission to perform the requestan invocation failed because the caller has insufficient privileges.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
The CORBAException thrownNO_RESOURCESwhenexception which is thrown when either thethe ORB has encountered some general resourceclientlimitation. Fororexample theserverrundoes nottime may havesufficientreached theresources to performmaximum permissible numbertheof openrequestconnections.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
The CORBAThis exceptionNO_RESPONSEisexception whichraised ifisa client attempts tothrownretrievewhenthe result of a deferred synchronous call but the responsetofor the request is not yet available.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
Creates a newNamedValueobject initialized with the given name value and flag and adds it to the end of thisNVListobject.The flag can be any one of the argument passing modes: ARG_IN.value ARG_OUT.value or ARG_INOUT.value.@param item_name the name for the newNamedValueobject @paramvalueval anAnyobject containing the value for the newNamedValueobject @param flags one of the following argumentmodepassingflagsmodes:ARG_IN.valueARG_OUT.valueorARG_INOUT.value@return the newly-createdNamedValueobject
TheAssociatesNameValuePair interface associatesa name with a value that is an attribute of an IDL struct. Thisinterfaceand is used in the DynStruct APIs.
The Helper for NameValuePair. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/NameValuePairHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" 03 June 1999 11:52:03 o'clock GMT+00:00
The CORBAException raisedOBJECT_NOT_EXISTwheneverexceptionanwhichinvocation on a deleted object was performed. It isusually thrownan authoritativefrom"hard"thefault report. Anyone receiving itserveris allowed (even expected) toindicate that the targetdelete all copies of this objectdoesreference and to perform other appropriate "final recovery" style procedures. Bridgesnotforwardexistthis exception to clients also destroying any records they may hold (for example proxy objects used in reference translation). The clients could in turn purge any of their own data structures.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section Minor Code Meanings to see the minor codes for this exception. @see documentation on Java IDL exceptions @version 1.13 09/09/97 @since JDK1.2
The CORBAThis exceptionOBJ_ADAPTERtypicallyexception which is thrown by the object adapter on theindicates an administrative mismatch for example a server may haveservermade an attempt toindicateregister itself with an implementation repositorysomeundererrora name that is already in use or is unknown to the repository.It contains a minor code which gives more detailed information about what caused the exception and a completion status. It may also contain a string describing the exception.
See the section Minor Code Meanings to see the minor codes for this exception. @see documentation on Java IDL exceptions @version 1.17 09/09/97 @since JDK1.2
A class providing APIs for the CORBA Object Request Broker features. TheClass ORB, void connect(Object)ORBclass also provides "pluggable ORB implementation" APIs that allow another vendor's ORB implementation to be used.An ORB makes it possible for CORBA objects to communicate with each other by connecting objects making requests (clients) with objects servicing requests (servers).
The
ORBclass which encapsulates generic CORBA functionality does the following: (Note that items 5 and 6 which include most of the methods in the classORBare typically used with theDynamic Invocation Interface(DII) and theDynamic Skeleton Interface(DSI). These interfaces may be used by a developer directly but most commonly they are used by the ORB internally and are not seen by the general programmer.)
- initializes the ORB implementation by supplying values for predefined properties and environmental parameters
- obtains initial object references to services such as the NameService using the method
resolve_initial_references- converts object references to strings and back
- connects the ORB to a servant (an instance of a CORBA object implementation) and disconnects the ORB from a servant
- creates objects such as
TypeCodeAnyNamedValueContextEnvironment- lists (such as
NVList) containing these objects- sends multiple messages in the DII
The
ORBclass can be used to obtain references to objects implemented anywhere on the network.An application or applet gains access to the CORBA environment by initializing itself into an
ORBusing one of threeinitmethods. Two of the three methods use the properties (associations of a name with a value) shown in the table below.
Property Name Property Value Standard Java CORBA Properties: org.omg.CORBA.ORBClass class name of an ORB implementation org.omg.CORBA.ORBSingletonClass class name of the ORB returned by init()These properties allow a different vendor's
ORBimplementation to be "plugged in."When an ORB instance is being created the class name of the ORB implementation is located using the following standard search order:
- check in Applet parameter or application string array if any
- check in properties parameter if any
- check in the System properties
- check in the orb.properties file located in the user.home directory (if any)
- check in the orb.properties file located in the
java.home/lib directory (if any)- fall back on a hardcoded default behavior (use the Java IDL implementation)
Note that Java IDL provides a default implementation for the fully-functional ORB and for the Singleton ORB. When the method
initis given no parameters the default Singleton ORB is returned. When the methodinitis given parameters but no ORB class is specified the Java IDL ORB implementation is returned.The following code fragment creates an
ORBobject initialized with the default ORB Singleton. This ORB has a restricted implementation to prevent malicious applets from doing anything beyond creating typecodes. It is called a singleton because there is only one instance for an entire virtual machine.ORB orb = ORB.init();The following code fragment creates an
ORBobject for an application. The parameterargsrepresents the arguments supplied to the application'smainmethod. Since the property specifies the ORB class to be "SomeORBImplementation" the new ORB will be initialized with that ORB implementation. If p had been null and the arguments had not specified an ORB class the new ORB would have been initialized with the default Java IDL implementation.Properties p = new Properties(); p.put("org.omg.CORBA.ORBClass" "SomeORBImplementation"); ORB orb = ORB.init(args p);The following code fragment creates an
ORBobject for the applet supplied as the first parameter. If the given applet does not specify an ORB class the new ORB will be initialized with the default Java IDL implementation.ORB orb = ORB.init(myApplet null);An application or applet can be initialized in one or more ORBs. ORB initialization is a bootstrap call into the CORBA world. @version 1.70 09/09/97 @since JDK1.2
Connects the given servant object (a Java object that is an instance of the server implementation class) to the ORB. The servant class must extend theClass ORB, TypeCode create_abstract_interface_tc(String, String)ImplBaseclass corresponding to the interface that is supported by the server. The servant must thus be a CORBA object reference and inherit fromorg.omg.CORBA.Object. Servants created by the user can start receiving remote invocations after the methodconnecthas been called. A servant may also be automatically and implicitly connected to the ORB if it is passed as an IDL parameter in an IDL method invocation on a non-local object that is if the servant object has to be marshalled and sent outside of the process address space.Calling the method
connecthas no effect when the servant object is already connected to the ORB.Deprecated by the OMG in favor of the Portable Object Adapter APIs. @param obj
theThe servant object reference@see CORBA package comments for unimplemented features
Create aClass ORB, DynAny create_basic_dyn_any(TypeCode)TypeCodeobject for an IDL abstract interface. @param id the logical id for the abstract interface type. @param name the name of the abstract interface type. @return the requested TypeCode.@see CORBA package comments for unimplemented features
Class ORB, DynAny create_dyn_any(Any)See package commentsCreates a basicregardingDynAnyunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynAnyobject @return the newDynAnyobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, DynArray create_dyn_array(TypeCode)See packageCreates acommentsnewDynAnyregarding unimplementedobject fromfeaturesthe givenAnyobject.@param value the
Anyobject from which to create a newDynAnyobject @return the newDynAnyobject created from the givenAnyobject @seeCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, DynEnum create_dyn_enum(TypeCode)See package commentsCreates a newregardingDynArrayunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynArrayobject @return the newDynArrayobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, DynSequence create_dyn_sequence(TypeCode)See package commentsCreates a newregardingDynEnumunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynEnumobject @return the newDynEnumobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, DynStruct create_dyn_struct(TypeCode)See package commentsCreates a newregardingDynSequenceunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynSequenceobject @return the newDynSequenceobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, DynUnion create_dyn_union(TypeCode)See package commentsCreates a newregardingDynStructunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynStructobject @return the newDynStructobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Class ORB, TypeCode create_fixed_tc(short, short)See package commentsCreates a newregardingDynUnionunimplementedobjectfeaturesfrom the givenTypeCodeobject.@param type the
. @seeTypeCodeobject from which to create a newDynUnionobject @return the newDynUnionobject created from the givenTypeCodeobject @throws org.omg.CORBA.ORBPackage.InconsistentTypeCode if the givenTypeCodeobject is not consistent with the operationCORBApackage comments for unimplemented features @seeDynamicAnypackage replaces these API
Create aClass ORB, TypeCode create_native_tc(String, String)TypeCodeobject for an IDL fixed type. @param digits specifies the total number of decimal digits in the number and must be from 1 to 31 inclusive. @param scale specifies the position of the decimal point. @return the requested TypeCode.@see CORBA package comments for unimplemented features
Create aClass ORB, Policy create_policy(int, Any)TypeCodeobject for an IDL native type. @param id the logical id for the native type. @param name the name of the native type. @return the requested TypeCode.@see CORBA package comments for unimplemented features
Class ORB, TypeCode create_recursive_sequence_tc(int, int)See package comments regarding unimplementedCan be invoked to createfeaturesnew instances of policy objects of a specific type with specified initial state. If create_policy fails to instantiate a new Policy object due to its inability to interpret the requested type and content of the policy it raises the PolicyError exception with the appropriate reason. @seeparam type the PolicyType of the policy object to be created @param val the value that will be used to set the initial state of the Policy object that is created @return Reference to a newly created Policy object of type specified by the type parameter and initialized to a state specified by the val parameter @throws org.omg.CORBA.PolicyError when the requested policy is not supportedpackage commentsor a requested initial state forunimplementedthe policyfeaturesis not supported.
Creates aClass ORB, TypeCode create_recursive_tc(String)TypeCodeobject representing a a recursive IDLsequence.For the IDL
structFooNode in following code fragment the offset parameter for creating its sequence would be 1:Struct@param bound the bound for the sequence 0 if unbounded @param offset the index to the enclosingFooNode { long value; Sequence <FooNode>Chainsubnodes; };TypeCodeobject that describes the elements of this sequence @return a newly-createdTypeCodeobject describing a recursive sequence @deprecated Use a combination of create_recursive_tc and create_sequence_tc instead @see #create_recursive_tc(String) create_recursive_tc @see #create_sequence_tc(int TypeCode) create_sequence_tc
Create a recursiveClass ORB, TypeCode create_sequence_tc(int, TypeCode)TypeCodeobject which serves as a placeholder for a concrete TypeCode during the process of creating TypeCodes which contain recursion. The id parameter specifies the repository id of the type for which the recursive TypeCode is serving as a placeholder. Once the recursive TypeCode has been properly embedded in the enclosing TypeCode which corresponds to the specified repository id it will function as a normal TypeCode. Invoking operations on the recursive TypeCode before it has been embedded in the enclosing TypeCode will result inundefinedaBAD_TYPECODEbehaviorexception.For example the following IDL type
declarationsdeclarationcontaincontains recursion:StructFooNode {long value;Sequence<FooNode>Chain; }; Struct Bar { public Bar membersubnodes; };To create a TypeCode for struct
BarNode you would invoke the TypeCode creation operations as shown below:StringbarIDnodeID = "IDL:BarNode:1.0"; TypeCoderecursiveTCrecursiveSeqTC = orb.create_sequence_tc(0 orb.create_recursive_tc(barIDnodeID)); StructMember[] members = { new StructMember("membersubnodes"recursiveTCrecursiveSeqTC null) }; TypeCodestructBarTCstructNodeTC = orb.create_struct_tc(barIDnodeID "BarNode" members);Also note that the following is an illegal IDL type declaration:
Struct Node { Node next; };Recursive types can only appear within sequences which can be empty. That way marshaling problems when transmitting the struct in an Any are avoided.
@param id the logical id of the referenced type @return the requested TypeCode
@see CORBA package comments for unimplemented features
Creates aClass ORB, TypeCode create_value_box_tc(String, String, TypeCode)TypeCodeobject representing an IDLsequence. TheTypeCodeobject is initialized with the given bound and element type. @param bound the bound for thesequence0 if unbounded @param element_type theTypeCodeobject describing the elements contained in thesequence@return a newly-createdTypeCodeobject describing an IDLsequence
Creates aClass ORB, TypeCode create_value_tc(String, String, short, TypeCode, ValueMember[])TypeCodeobject for an IDL value box. @param id the logical id for the value type @param name the name of the value type @param boxed_type the TypeCode for the type @return the requested TypeCode@see CORBA package comments for unimplemented features
Create aClass ORB, void destroy()TypeCodeobject for an IDL value type. The concrete_base parameter is the TypeCode for the immediate concrete valuetype base of the valuetype for which the TypeCode is being created. It may be null if the valuetype does not have a concrete base. @param id the logical id for the value type. @param name the name of the value type. @param type_modifier one of the value type modifier constants: VM_NONE VM_CUSTOM VM_ABSTRACT or VM_TRUNCATABLE @param concrete_base aTypeCodeobject describing the concrete valuetype base @param members an array containing the members of the value type @return the requested TypeCode@see CORBA package comments for unimplemented features
Destroys the ORBClass ORB, void disconnect(Object)instance and freesso that itsallresources can be reclaimed. Any operation invoked on a destroyed ORB reference will throw theresourcesOBJECT_NOT_EXISTexception.underOnce an ORBinstancehas been destroyed another call toinitwith the same ORBid will return a reference to a newly constructed ORB.
TheIfmethoddestroyis called on an ORB that has notimplementedbeen 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 callsdestroyThe APIin a thread that isprovidedcurrentlytoservicing an invocation theBAD_INV_ORDERsystemconformexception will be thrown with the OMGspecminor code 3 since blocking would result in a deadlock.For maximum portability and to avoid resource leaks an application should always call
.BAD_INV_ORDER if the current thread is servicing an invocationshutdownanddestroyon all ORB instances before exiting. @throws org.omg.CORBA
Disconnects the given servant object from the ORB. After this method returns the ORB will reject incoming remote requests for the disconnected servant and will send the exceptionClass ORB, Current get_current()org.omg.CORBA.OBJECT_NOT_EXISTback to the remote client. Thus the object appears to be destroyed from the point of view of remote clients. Note however that local requests issued using the servant directly do not pass through the ORB; hence they will continue to be processed by the servant.Calling the method
disconnecthas no effect if the servant is not connected to the ORB.Deprecated by the OMG in favor of the Portable Object Adapter APIs. @param obj The servant object to be disconnected from the ORB
@see CORBA package comments for unimplemented features
Retrieves aClass ORB, boolean get_service_information(short, ServiceInformationHolder)Currentobject. TheCurrentinterface is used to manage thread-specific information for use by services such as transactions and security. @seeCORBApackage comments for unimplemented features @return a newly-createdCurrentobject @deprecated useresolve_initial_references. @see CORBApackage comments for unimplemented features.
Class ORB, void perform_work()See package comments regarding unimplementedUsed to obtain information aboutfeaturesCORBA facilities and services that are supported by this ORB. The service type for which information is being requested is passed in as the in parameter service_type the values defined by constants in the CORBA module. If service information is available for that type that is returned in the out parameter service_info and the operation returns the value true. If no information for the requested services type is available the operation returns false (i.e. the service is not supported by this ORB).@param service_type a
shortindicating the service type for which information is being requested @param service_info aServiceInformationHolderobject that will hold theServiceInformationobject produced by this method @returntrueif service information is available for the service_type; false if no information for the requested services type is available @seeCORBApackage comments for unimplemented features
Performs an implementation-dependent unit of work if called by the main thread. Otherwise it does nothing. The methodsClass ORB, void run()work_pendingandperform_workcan be used in conjunction to implement a simple polling loop that multiplexes the main thread among the ORB and other activities.@see CORBA package comments for unimplemented features
This operationClass ORB, void shutdown(boolean)returnsblockswhentheORB has shutdown. Ifcurrentcalled bythread until themain threadORBit enableshas completed theORBshutdownto perform work using the mainprocess initiated when some thread callsthreadshutdown.Otherwise it simply waits until the ORB hasIt may be used by multiple threads whichshutdown.get@seeallCORBAnotifiedpackage comments for unimplementedwhen the ORB shutsfeaturesdown.
Instructs the ORB to shut down which causes all object adapters to shut down in preparation for destruction.Class ORB, boolean work_pending()
If thewait_for_completionparameter is true this operation blocks until all ORB processing (including processing of currently executing requests object deactivation and other object adapter operations) has completed. If an application does this in 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.
If thewait_for_completionparameter isFALSEthen shutdown may not have completed upon return.While the ORB is in the process of shutting down the ORB operates as normal servicing incoming and outgoing requests until all requests have been completed. Once an ORB has shutdown only object reference management operations may be invoked on the ORB or any object reference obtained from it. An application may also invoke the
destroyoperation on the ORB itself. Invoking any other operation will throw theBAD_INV_ORDERsystem exception with the OMG minor code 4.The
ORB.runmethod will return aftershutdownhas been called. @param wait_for_completiontrueto indicateifthattheORBcall shouldcompleteblockprocessinguntil thebefore shutting downshutdown is complete;falseto indicateifthat the ORBit shouldshut downreturn immediately @seethrows org.omg.CORBA.BAD_INV_ORDER ifpackage commentsthe currentforthread is servicingunimplementedanfeaturesinvocation
Returnstrueif the ORB needs the main thread to perform some work andfalseif the ORB does not need the main thread. @returntrueif there is work pending meaning that the ORB needs the main thread to perform some work;falseif there is no work pending and thus the ORB does not need the main thread@see CORBA package comments for unimplemented features
The Holder for Object. For more information on Holder files see "Generated Files: Holder Files".A Holder class for a CORBA object reference (a value of type
org.omg.CORBA.Object). It is usually used to store "out" and "inout" parameters in IDL methods. If an IDL method signature has a CORBA Object reference as an "out" or "inout" parameter the programmer must pass an instance ofObjectHolderas the corresponding parameter in the method invocation; for "inout" parameters the programmer must also fill the "in" value to be sent to the server. Before the method invocation returns the ORB will fill in the value corresponding to the "out" value returned from the server.If
myObjectHolderis an instance ofObjectHolderthe value stored in itsvaluefield can be accessed withmyObjectHolder.value. @version 1.14 09/09/97 @since JDK1.2
The Helper for OctetSeq. For more information on Helper files see "Generated Files: Helper Files".org/omg/CORBA/OctetSeqHelper.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00 The class definition has been modified to conform to the following OMG specifications :
- ORB core as defined by CORBA 2.3.1 (formal/99-10-07)
- IDL/Java Language Mapping as defined in ptc/00-01-08
The Holder for OctetSeq. For more information on Holder files see "Generated Files: Holder Files".org/omg/CORBA/OctetSeqHolder.java Generated by the IDL-to-Java compiler (portable) version "3.0" from streams.idl 13 May 1999 22:41:36 o'clock GMT+00:00
The CORBAThis exceptionPERSIST_STOREindicatesexceptiona