public static IProtocalInfo getProtocalInfoType(String name) {
        if (name.equalsIgnoreCase(ProtocolType.EJB.name())) {
            return new EJBProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.WEBSERVICE.name())) {
            return new WebServiceProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.JMS.name())) {
            return new JMSProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.IBMMQ.name())) {
            return new IBMMQProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.ACTIVEMQ.name())) {
            return new ACTIVEMQProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.RABBITMQ.name())) {
            return new RABBITMQProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.FTP.name())) {
            return new FTPProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.HESSIAN.name())) {
            return new HessianProtocalInfo();
        } else if (name.equalsIgnoreCase(ProtocolType.SOCKET.name())) {
            return new SocketProtocalInfo();
        }else {
            logger.error("此协议不支持：" + name);
            return null;
        }
    }