use of org.omg.CORBA.ConstantDescription 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