Search in sources :

Example 11 with StructMember

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

the class ExceptionDefImpl method members.

public StructMember[] members() {
    if (members == null) {
        TypeCode type = vDef.type();
        LocalIDLType localTypeDef = IDLTypeImpl.getIDLType(type, repository);
        IDLType type_def = IDLTypeHelper.narrow(localTypeDef.getReference());
        members = new StructMember[1];
        members[0] = new StructMember("value", type, type_def);
    }
    return members;
}
Also used : TypeCode(org.omg.CORBA.TypeCode) IDLType(org.omg.CORBA.IDLType) StructMember(org.omg.CORBA.StructMember)

Example 12 with StructMember

use of org.omg.CORBA.StructMember in project structure-project by wudskq.

the class ORBUtility method systemExceptionMembers.

private static StructMember[] systemExceptionMembers(ORB orb) {
    if (members == null) {
        members = new StructMember[3];
        members[0] = new StructMember("id", orb.create_string_tc(0), null);
        members[1] = new StructMember("minor", orb.get_primitive_tc(TCKind.tk_long), null);
        members[2] = new StructMember("completed", orb.get_primitive_tc(TCKind.tk_long), null);
    }
    return members;
}
Also used : StructMember(org.omg.CORBA.StructMember)

Aggregations

StructMember (org.omg.CORBA.StructMember)12 TypeCode (org.omg.CORBA.TypeCode)10 QName (javax.xml.namespace.QName)6 MemberType (org.apache.cxf.binding.corba.wsdl.MemberType)6 Test (org.junit.Test)5 CorbaPrimitiveHandler (org.apache.cxf.binding.corba.types.CorbaPrimitiveHandler)4 Struct (org.apache.cxf.binding.corba.wsdl.Struct)4 InputStream (org.omg.CORBA.portable.InputStream)4 OutputStream (org.omg.CORBA.portable.OutputStream)4 Exception (org.apache.cxf.binding.corba.wsdl.Exception)3 IOException (java.io.IOException)2 CorbaExceptionHandler (org.apache.cxf.binding.corba.types.CorbaExceptionHandler)2 CorbaObjectHandler (org.apache.cxf.binding.corba.types.CorbaObjectHandler)2 CorbaStructHandler (org.apache.cxf.binding.corba.types.CorbaStructHandler)2 List (java.util.List)1 CorbaBindingException (org.apache.cxf.binding.corba.CorbaBindingException)1 Alias (org.apache.cxf.binding.corba.wsdl.Alias)1 Array (org.apache.cxf.binding.corba.wsdl.Array)1 Enum (org.apache.cxf.binding.corba.wsdl.Enum)1 Enumerator (org.apache.cxf.binding.corba.wsdl.Enumerator)1