Package org.apache.tuscany.core.builder

Examples of org.apache.tuscany.core.builder.BuilderConfigException


        if (configuredReference.getPort().getServiceContract() != null){
            interfaze = configuredReference.getPort().getServiceContract().getInterface();
        }else if(configuredReference.getPart() instanceof EntryPoint){
            interfaze = ((EntryPoint)configuredReference.getPart()).getConfiguredService().getPort().getServiceContract().getInterface();
        }else{
            BuilderConfigException bce = new BuilderConfigException("No interface found on configured reference");
            bce.setIdentifier(configuredReference.getName());
            throw bce;
        }
        List<SourceWireFactory> wireFactories = new ArrayList<SourceWireFactory>();
        List<WireSourceConfiguration> wireConfigurations = new ArrayList<WireSourceConfiguration>();
        for (ConfiguredService configuredService : configuredReference.getTargetConfiguredServices()) {
View Full Code Here


        Boolean isE4XStyle = null;
        for (Service service : services) {
            ServiceContract sc = service.getServiceContract();
            if (sc instanceof WSDLServiceContract) {
                if (isE4XStyle != null && !isE4XStyle.booleanValue()) {
                    throw new BuilderConfigException("mixed service interface types not supportted");
                }
                isE4XStyle = Boolean.TRUE;
            } else {
                isE4XStyle = Boolean.FALSE;
            }
View Full Code Here

            return contextFactory;
        } catch (BuilderException e) {
            e.addContextName(name);
            throw e;
        } catch (NoSuchMethodException e) {
            BuilderConfigException ce = new BuilderConfigException("Class does not have a no-arg constructor", e);
            ce.setIdentifier(implClass.getName());
            ce.addContextName(name);
            throw ce;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.builder.BuilderConfigException

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.