Search in sources :

Example 1 with ModuleDescription

use of org.omg.CORBA.ModuleDescription in project wildfly by wildfly.

the class ModuleDefImpl method describe.

// ContainedImpl implementation ----------------------------------
public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof ContainedOperations)
        defined_in_id = ((ContainedOperations) defined_in).id();
    ModuleDescription md = new ModuleDescription(name, id, defined_in_id, version);
    Any any = getORB().create_any();
    ModuleDescriptionHelper.insert(any, md);
    return new Description(DefinitionKind.dk_Module, any);
}
Also used : Description(org.omg.CORBA.ContainedPackage.Description) ModuleDescription(org.omg.CORBA.ModuleDescription) ModuleDescription(org.omg.CORBA.ModuleDescription) ContainedOperations(org.omg.CORBA.ContainedOperations) Any(org.omg.CORBA.Any)

Aggregations

Any (org.omg.CORBA.Any)1 ContainedOperations (org.omg.CORBA.ContainedOperations)1 Description (org.omg.CORBA.ContainedPackage.Description)1 ModuleDescription (org.omg.CORBA.ModuleDescription)1