use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.
the class AttributeDefImpl method describe.
// ContainedImpl implementation ----------------------------------
public Description describe() {
String defined_in_id = "IR";
if (defined_in instanceof ContainedOperations)
defined_in_id = ((ContainedOperations) defined_in).id();
AttributeDescription d = new AttributeDescription(name, id, defined_in_id, version, typeCode, mode);
Any any = getORB().create_any();
AttributeDescriptionHelper.insert(any, d);
return new Description(DefinitionKind.dk_Attribute, any);
}
use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.
the class ExceptionDefImpl method describe.
// ContainedImpl implementation ----------------------------------
public Description describe() {
String defined_in_id = "IR";
if (defined_in instanceof ContainedOperations)
defined_in_id = ((ContainedOperations) defined_in).id();
ExceptionDescription ed = new ExceptionDescription(name, id, defined_in_id, version, type());
Any any = getORB().create_any();
ExceptionDescriptionHelper.insert(any, ed);
return new Description(DefinitionKind.dk_Exception, any);
}
use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.
the class InterfaceDefImpl method describe.
// ContainedImpl implementation ----------------------------------
public Description describe() {
String defined_in_id = "IR";
if (defined_in instanceof org.omg.CORBA.ContainedOperations)
defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();
org.omg.CORBA.InterfaceDescription md = new InterfaceDescription(name, id, defined_in_id, version, base_interfaces, false);
Any any = getORB().create_any();
InterfaceDescriptionHelper.insert(any, md);
return new Description(DefinitionKind.dk_Interface, any);
}
use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.
the class OperationDefImpl method describe.
// ContainedImpl implementation ----------------------------------
public Description describe() {
String defined_in_id = "IR";
if (defined_in instanceof ContainedOperations)
defined_in_id = ((ContainedOperations) defined_in).id();
ExceptionDescription[] exds;
exds = new ExceptionDescription[exceptions.length];
for (int i = 0; i < exceptions.length; ++i) {
Description d = exceptions[i].describe();
exds[i] = ExceptionDescriptionHelper.extract(d.value);
}
OperationDescription od;
od = new OperationDescription(name, id, defined_in_id, version, typeCode, mode(), contexts(), params(), exds);
Any any = getORB().create_any();
OperationDescriptionHelper.insert(any, od);
return new Description(DefinitionKind.dk_Operation, any);
}
use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.
the class ConstantDefImpl method describe.
// ContainedImpl implementation ----------------------------------
public Description describe() {
String defined_in_id = "IR";
if (defined_in instanceof ContainedOperations)
defined_in_id = ((ContainedOperations) defined_in).id();
ConstantDescription d = new ConstantDescription(name, id, defined_in_id, version, typeCode, value);
Any any = getORB().create_any();
ConstantDescriptionHelper.insert(any, d);
return new Description(DefinitionKind.dk_Constant, any);
}
Aggregations