org.omg.CORBA.ExceptionDefPOA Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openjdk-orb Show documentation
Show all versions of openjdk-orb Show documentation
JBoss repackaging of the OpenJDK ORB
The newest version!
package org.omg.CORBA;
/**
* org/omg/CORBA/ExceptionDefPOA.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/CORBA/ir.idl
* Wednesday, February 1, 2023 4:15:32 PM CET
*/
public abstract class ExceptionDefPOA extends org.omg.PortableServer.Servant
implements org.omg.CORBA.ExceptionDefOperations, org.omg.CORBA.portable.InvokeHandler
{
// Constructors
private static java.util.Hashtable _methods = new java.util.Hashtable ();
static
{
_methods.put ("_get_type", new java.lang.Integer (0));
_methods.put ("_get_members", new java.lang.Integer (1));
_methods.put ("_set_members", new java.lang.Integer (2));
_methods.put ("_get_id", new java.lang.Integer (3));
_methods.put ("_set_id", new java.lang.Integer (4));
_methods.put ("_get_name", new java.lang.Integer (5));
_methods.put ("_set_name", new java.lang.Integer (6));
_methods.put ("_get_version", new java.lang.Integer (7));
_methods.put ("_set_version", new java.lang.Integer (8));
_methods.put ("_get_defined_in", new java.lang.Integer (9));
_methods.put ("_get_absolute_name", new java.lang.Integer (10));
_methods.put ("_get_containing_repository", new java.lang.Integer (11));
_methods.put ("describe", new java.lang.Integer (12));
_methods.put ("move", new java.lang.Integer (13));
_methods.put ("_get_def_kind", new java.lang.Integer (14));
_methods.put ("destroy", new java.lang.Integer (15));
_methods.put ("lookup", new java.lang.Integer (16));
_methods.put ("contents", new java.lang.Integer (17));
_methods.put ("lookup_name", new java.lang.Integer (18));
_methods.put ("describe_contents", new java.lang.Integer (19));
_methods.put ("create_module", new java.lang.Integer (20));
_methods.put ("create_constant", new java.lang.Integer (21));
_methods.put ("create_struct", new java.lang.Integer (22));
_methods.put ("create_union", new java.lang.Integer (23));
_methods.put ("create_enum", new java.lang.Integer (24));
_methods.put ("create_alias", new java.lang.Integer (25));
_methods.put ("create_interface", new java.lang.Integer (26));
_methods.put ("create_value", new java.lang.Integer (27));
_methods.put ("create_value_box", new java.lang.Integer (28));
_methods.put ("create_exception", new java.lang.Integer (29));
_methods.put ("create_native", new java.lang.Integer (30));
}
public org.omg.CORBA.portable.OutputStream _invoke (String $method,
org.omg.CORBA.portable.InputStream in,
org.omg.CORBA.portable.ResponseHandler $rh)
{
org.omg.CORBA.portable.OutputStream out = null;
java.lang.Integer __method = (java.lang.Integer)_methods.get ($method);
if (__method == null)
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
switch (__method.intValue ())
{
case 0: // org/omg/CORBA/ExceptionDef/_get_type
{
org.omg.CORBA.TypeCode $result = null;
$result = this.type ();
out = $rh.createReply();
out.write_TypeCode ($result);
break;
}
case 1: // org/omg/CORBA/ExceptionDef/_get_members
{
org.omg.CORBA.StructMember $result[] = null;
$result = this.members ();
out = $rh.createReply();
org.omg.CORBA.StructMemberSeqHelper.write (out, $result);
break;
}
case 2: // org/omg/CORBA/ExceptionDef/_set_members
{
org.omg.CORBA.StructMember newMembers[] = org.omg.CORBA.StructMemberSeqHelper.read (in);
this.members (newMembers);
out = $rh.createReply();
break;
}
// read/write interface
case 3: // org/omg/CORBA/Contained/_get_id
{
String $result = null;
$result = this.id ();
out = $rh.createReply();
out.write_string ($result);
break;
}
// read/write interface
case 4: // org/omg/CORBA/Contained/_set_id
{
String newId = org.omg.CORBA.RepositoryIdHelper.read (in);
this.id (newId);
out = $rh.createReply();
break;
}
case 5: // org/omg/CORBA/Contained/_get_name
{
String $result = null;
$result = this.name ();
out = $rh.createReply();
out.write_string ($result);
break;
}
case 6: // org/omg/CORBA/Contained/_set_name
{
String newName = org.omg.CORBA.IdentifierHelper.read (in);
this.name (newName);
out = $rh.createReply();
break;
}
case 7: // org/omg/CORBA/Contained/_get_version
{
String $result = null;
$result = this.version ();
out = $rh.createReply();
out.write_string ($result);
break;
}
case 8: // org/omg/CORBA/Contained/_set_version
{
String newVersion = org.omg.CORBA.VersionSpecHelper.read (in);
this.version (newVersion);
out = $rh.createReply();
break;
}
// read interface
case 9: // org/omg/CORBA/Contained/_get_defined_in
{
org.omg.CORBA.Container $result = null;
$result = this.defined_in ();
out = $rh.createReply();
org.omg.CORBA.ContainerHelper.write (out, $result);
break;
}
case 10: // org/omg/CORBA/Contained/_get_absolute_name
{
String $result = null;
$result = this.absolute_name ();
out = $rh.createReply();
out.write_string ($result);
break;
}
case 11: // org/omg/CORBA/Contained/_get_containing_repository
{
org.omg.CORBA.Repository $result = null;
$result = this.containing_repository ();
out = $rh.createReply();
org.omg.CORBA.RepositoryHelper.write (out, $result);
break;
}
case 12: // org/omg/CORBA/Contained/describe
{
org.omg.CORBA.ContainedPackage.Description $result = null;
$result = this.describe ();
out = $rh.createReply();
org.omg.CORBA.ContainedPackage.DescriptionHelper.write (out, $result);
break;
}
// write interface
case 13: // org/omg/CORBA/Contained/move
{
org.omg.CORBA.Container new_container = org.omg.CORBA.ContainerHelper.read (in);
String new_name = org.omg.CORBA.IdentifierHelper.read (in);
String new_version = org.omg.CORBA.VersionSpecHelper.read (in);
this.move (new_container, new_name, new_version);
out = $rh.createReply();
break;
}
// read interface
case 14: // org/omg/CORBA/IRObject/_get_def_kind
{
org.omg.CORBA.DefinitionKind $result = null;
$result = this.def_kind ();
out = $rh.createReply();
org.omg.CORBA.DefinitionKindHelper.write (out, $result);
break;
}
// write interface
case 15: // org/omg/CORBA/IRObject/destroy
{
this.destroy ();
out = $rh.createReply();
break;
}
// read interface
case 16: // org/omg/CORBA/Container/lookup
{
String search_name = org.omg.CORBA.ScopedNameHelper.read (in);
org.omg.CORBA.Contained $result = null;
$result = this.lookup (search_name);
out = $rh.createReply();
org.omg.CORBA.ContainedHelper.write (out, $result);
break;
}
case 17: // org/omg/CORBA/Container/contents
{
org.omg.CORBA.DefinitionKind limit_type = org.omg.CORBA.DefinitionKindHelper.read (in);
boolean exclude_inherited = in.read_boolean ();
org.omg.CORBA.Contained $result[] = null;
$result = this.contents (limit_type, exclude_inherited);
out = $rh.createReply();
org.omg.CORBA.ContainedSeqHelper.write (out, $result);
break;
}
case 18: // org/omg/CORBA/Container/lookup_name
{
String search_name = org.omg.CORBA.IdentifierHelper.read (in);
int levels_to_search = in.read_long ();
org.omg.CORBA.DefinitionKind limit_type = org.omg.CORBA.DefinitionKindHelper.read (in);
boolean exclude_inherited = in.read_boolean ();
org.omg.CORBA.Contained $result[] = null;
$result = this.lookup_name (search_name, levels_to_search, limit_type, exclude_inherited);
out = $rh.createReply();
org.omg.CORBA.ContainedSeqHelper.write (out, $result);
break;
}
case 19: // org/omg/CORBA/Container/describe_contents
{
org.omg.CORBA.DefinitionKind limit_type = org.omg.CORBA.DefinitionKindHelper.read (in);
boolean exclude_inherited = in.read_boolean ();
int max_returned_objs = in.read_long ();
org.omg.CORBA.ContainerPackage.Description $result[] = null;
$result = this.describe_contents (limit_type, exclude_inherited, max_returned_objs);
out = $rh.createReply();
org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.write (out, $result);
break;
}
// write interface
case 20: // org/omg/CORBA/Container/create_module
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.ModuleDef $result = null;
$result = this.create_module (id, name, version);
out = $rh.createReply();
org.omg.CORBA.ModuleDefHelper.write (out, $result);
break;
}
case 21: // org/omg/CORBA/Container/create_constant
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.IDLType type = org.omg.CORBA.IDLTypeHelper.read (in);
org.omg.CORBA.Any value = in.read_any ();
org.omg.CORBA.ConstantDef $result = null;
$result = this.create_constant (id, name, version, type, value);
out = $rh.createReply();
org.omg.CORBA.ConstantDefHelper.write (out, $result);
break;
}
case 22: // org/omg/CORBA/Container/create_struct
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.StructMember members[] = org.omg.CORBA.StructMemberSeqHelper.read (in);
org.omg.CORBA.StructDef $result = null;
$result = this.create_struct (id, name, version, members);
out = $rh.createReply();
org.omg.CORBA.StructDefHelper.write (out, $result);
break;
}
case 23: // org/omg/CORBA/Container/create_union
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.IDLType discriminator_type = org.omg.CORBA.IDLTypeHelper.read (in);
org.omg.CORBA.UnionMember members[] = org.omg.CORBA.UnionMemberSeqHelper.read (in);
org.omg.CORBA.UnionDef $result = null;
$result = this.create_union (id, name, version, discriminator_type, members);
out = $rh.createReply();
org.omg.CORBA.UnionDefHelper.write (out, $result);
break;
}
case 24: // org/omg/CORBA/Container/create_enum
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
String members[] = org.omg.CORBA.EnumMemberSeqHelper.read (in);
org.omg.CORBA.EnumDef $result = null;
$result = this.create_enum (id, name, version, members);
out = $rh.createReply();
org.omg.CORBA.EnumDefHelper.write (out, $result);
break;
}
case 25: // org/omg/CORBA/Container/create_alias
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.IDLType original_type = org.omg.CORBA.IDLTypeHelper.read (in);
org.omg.CORBA.AliasDef $result = null;
$result = this.create_alias (id, name, version, original_type);
out = $rh.createReply();
org.omg.CORBA.AliasDefHelper.write (out, $result);
break;
}
case 26: // org/omg/CORBA/Container/create_interface
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.InterfaceDef base_interfaces[] = org.omg.CORBA.InterfaceDefSeqHelper.read (in);
boolean is_abstract = in.read_boolean ();
org.omg.CORBA.InterfaceDef $result = null;
$result = this.create_interface (id, name, version, base_interfaces, is_abstract);
out = $rh.createReply();
org.omg.CORBA.InterfaceDefHelper.write (out, $result);
break;
}
case 27: // org/omg/CORBA/Container/create_value
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
boolean is_custom = in.read_boolean ();
boolean is_abstract = in.read_boolean ();
org.omg.CORBA.ValueDef base_value = org.omg.CORBA.ValueDefHelper.read (in);
boolean is_truncatable = in.read_boolean ();
org.omg.CORBA.ValueDef abstract_base_values[] = org.omg.CORBA.ValueDefSeqHelper.read (in);
org.omg.CORBA.InterfaceDef supported_interfaces[] = org.omg.CORBA.InterfaceDefSeqHelper.read (in);
org.omg.CORBA.Initializer initializers[] = org.omg.CORBA.InitializerSeqHelper.read (in);
org.omg.CORBA.ValueDef $result = null;
$result = this.create_value (id, name, version, is_custom, is_abstract, base_value, is_truncatable, abstract_base_values, supported_interfaces, initializers);
out = $rh.createReply();
org.omg.CORBA.ValueDefHelper.write (out, $result);
break;
}
case 28: // org/omg/CORBA/Container/create_value_box
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.IDLType original_type_def = org.omg.CORBA.IDLTypeHelper.read (in);
org.omg.CORBA.ValueBoxDef $result = null;
$result = this.create_value_box (id, name, version, original_type_def);
out = $rh.createReply();
org.omg.CORBA.ValueBoxDefHelper.write (out, $result);
break;
}
case 29: // org/omg/CORBA/Container/create_exception
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.StructMember members[] = org.omg.CORBA.StructMemberSeqHelper.read (in);
org.omg.CORBA.ExceptionDef $result = null;
$result = this.create_exception (id, name, version, members);
out = $rh.createReply();
org.omg.CORBA.ExceptionDefHelper.write (out, $result);
break;
}
case 30: // org/omg/CORBA/Container/create_native
{
String id = org.omg.CORBA.RepositoryIdHelper.read (in);
String name = org.omg.CORBA.IdentifierHelper.read (in);
String version = org.omg.CORBA.VersionSpecHelper.read (in);
org.omg.CORBA.NativeDef $result = null;
$result = this.create_native (id, name, version);
out = $rh.createReply();
org.omg.CORBA.NativeDefHelper.write (out, $result);
break;
}
default:
throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
}
return out;
} // _invoke
// Type-specific CORBA::Object operations
private static String[] __ids = {
"IDL:omg.org/CORBA/ExceptionDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Container:1.0"};
public String[] _all_interfaces (org.omg.PortableServer.POA poa, byte[] objectId)
{
return (String[])__ids.clone ();
}
public ExceptionDef _this()
{
return ExceptionDefHelper.narrow(
super._this_object());
}
public ExceptionDef _this(org.omg.CORBA.ORB orb)
{
return ExceptionDefHelper.narrow(
super._this_object(orb));
}
} // class ExceptionDefPOA