Package org.apache.axis2.corba.idl.types

Examples of org.apache.axis2.corba.idl.types.Typedef


                xmlSchema.getSchemaTypes().add(schemaTypeName, complexType);

                // adding this type to the table
                typeTable.addComplexSchema(name, eltOuter.getQName());
                if (dataType instanceof Typedef) {
                    Typedef typedef = (Typedef) dataType;
                    DataType aliasType = typedef.getDataType();
                    sequence.getItems().add(generateSchemaforFieldsandProperties(xmlSchema, aliasType, "item", false));
                } else {
                    //Set propertiesNames = new HashSet() ;
                    Member[] members = dataType.getMembers();
                    for (int i = 0; i < members.length; i++) {
View Full Code Here


                minOccurs = 0;
                maxOccurs = (elementCount == 0) ? Long.MAX_VALUE : elementCount;
            }
            if (type instanceof AbstractCollectionType) {
                AbstractCollectionType child = (AbstractCollectionType) type;
                Typedef typedef = new Typedef();
                typedef.setDataType(type);
                typedef.setModule(child.getElementModule());
                typedef.setName("_" + (child.getDepth() - 1) + "_" + child.getElementName());
                type = typedef;
            }
        }

        String propertyTypeName = CorbaUtil.getQualifiedName(type);
View Full Code Here

                xmlSchema.getSchemaTypes().put(schemaTypeName, complexType);

                typeTable.addComplexSchema(name, eltOuter.getQName());
            } else {
                if (dataType instanceof Typedef) {
                    Typedef typedef = (Typedef) dataType;
                    DataType aliasType = typedef.getDataType();
                    if (aliasType instanceof FixedType) {
                        XmlSchemaSimpleType simpleType = new XmlSchemaSimpleType(xmlSchema, false);
                        XmlSchemaElement eltOuter = new XmlSchemaElement(xmlSchema, false);
                        eltOuter.setName(simpleName);
                        eltOuter.setSchemaTypeName(schemaTypeName);
View Full Code Here

                minOccurs = 0;
                maxOccurs = (elementCount == 0) ? Long.MAX_VALUE : elementCount;
            }
            if (type instanceof AbstractCollectionType) {
                AbstractCollectionType child = (AbstractCollectionType) type;
                Typedef typedef = new Typedef();
                typedef.setDataType(type);
                typedef.setModule(child.getElementModule());
                typedef.setName("_" + (child.getDepth() - 1) + "_" + child.getElementName());
                type = typedef;
            }
        }

        String propertyTypeName = CorbaUtil.getQualifiedName(type);
View Full Code Here

            case TCKind._tk_string:
            case TCKind._tk_wstring:
                valueObj = value;
                break;
            case TCKind._tk_alias:
                Typedef typedef = (Typedef) type;
                valueObj = getValueObject(value, typedef.getDataType());
                break;
            case TCKind._tk_fixed:
                valueObj = new BigDecimal(value);
                break;
            default:
View Full Code Here

            deploymentFileData.setClassLoader(isDirectory, getClass().getClassLoader(),
                    (File) cfgCtx.getAxisConfiguration().getParameterValue(
                            Constants.Configuration.ARTIFACTS_TEMP_DIR),
                    cfgCtx.getAxisConfiguration().isChildFirstClassLoading());

            DeploymentClassLoader urlCl
                = (DeploymentClassLoader)deploymentFileData.getClassLoader();
            Thread.currentThread().setContextClassLoader(urlCl);

            // StartupFactory registration
            for (StartupFactory factory : getProviders(StartupFactory.class, urlCl)) {
View Full Code Here

    private void handleException(String message, Exception e) throws DeploymentException {
        if (log.isDebugEnabled()) {
            log.debug(message, e);
        }
        throw new DeploymentException(message, e);
    }
View Full Code Here

    private void handleException(String message, Throwable t) throws DeploymentException {
        if (log.isDebugEnabled()) {
            log.debug(message, t);
        }
        throw new DeploymentException(message, t);
    }
View Full Code Here

            }
        } else {
            String msg = "Artifact representing the filename "
                    + fileName + " is not deployed on Synapse";
            log.error(msg);
            throw new DeploymentException(msg);
        }

        if (log.isDebugEnabled()) {
            log.debug("UnDeployment of the synapse artifact from file : "
                    + fileName + " : COMPLETED");
View Full Code Here

    protected SynapseConfiguration getSynapseConfiguration() throws DeploymentException {
        Parameter synCfgParam =
                cfgCtx.getAxisConfiguration().getParameter(SynapseConstants.SYNAPSE_CONFIG);
        if (synCfgParam == null) {
            throw new DeploymentException("SynapseConfiguration not found. " +
                    "Are you sure that you are running Synapse?");
        }
        return (SynapseConfiguration) synCfgParam.getValue();
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.corba.idl.types.Typedef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.