Package org.switchyard.annotations

Examples of org.switchyard.annotations.DefaultType


     *
     * @param javaType The Java type.
     * @return The payload type.
     */
    public static String toMessageTypeString(Class<?> javaType) {
        DefaultType defaultType = javaType.getAnnotation(DefaultType.class);

        if (defaultType != null) {
            return defaultType.value();
        } else {
            if (javaType.isMemberClass()) {
                return TYPE_PREFIX + javaType.getName();
            } else {
                return TYPE_PREFIX + javaType.getCanonicalName();
View Full Code Here

TOP

Related Classes of org.switchyard.annotations.DefaultType

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.