Search in sources :

Example 1 with InterfaceDescription

use of org.omg.CORBA.InterfaceDescription 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);
}
Also used : ParameterDescription(org.omg.CORBA.ParameterDescription) Description(org.omg.CORBA.ContainedPackage.Description) AttributeDescription(org.omg.CORBA.AttributeDescription) OperationDescription(org.omg.CORBA.OperationDescription) FullInterfaceDescription(org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription) InterfaceDescription(org.omg.CORBA.InterfaceDescription) FullInterfaceDescription(org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription) InterfaceDescription(org.omg.CORBA.InterfaceDescription) InterfaceDescription(org.omg.CORBA.InterfaceDescription) Any(org.omg.CORBA.Any)

Aggregations

Any (org.omg.CORBA.Any)1 AttributeDescription (org.omg.CORBA.AttributeDescription)1 Description (org.omg.CORBA.ContainedPackage.Description)1 FullInterfaceDescription (org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription)1 InterfaceDescription (org.omg.CORBA.InterfaceDescription)1 OperationDescription (org.omg.CORBA.OperationDescription)1 ParameterDescription (org.omg.CORBA.ParameterDescription)1