Package org.apache.tuscany.core.config

Examples of org.apache.tuscany.core.config.InvalidMetaDataException


            }
            Class<?>[] serviceInterfaces = serviceAnnotation.interfaces();
            Class<?> value = serviceAnnotation.value();
            if (serviceInterfaces.length > 0) {
                if (!Void.class.equals(value)) {
                    InvalidMetaDataException e = new InvalidMetaDataException("Both interfaces and value specified in @Service on ");
                    e.setIdentifier(clazz.getName());
                    throw e;
                }
                for (Class<?> intf : interfaces) {
                    addService(services, intf);
                }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.config.InvalidMetaDataException

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.