Examples of SerializeFactory


Examples of net.hasor.rsf.serialize.SerializeFactory

        if (this.committed == true)
            return;
        //
        try {
            if (this.returnObject != null) {
                SerializeFactory serializeFactory = this.rsfContext.getSerializeFactory();
                this.responseMsg.setReturnData(this.returnObject, serializeFactory);
            }
        } catch (Throwable e) {
            String msg = e.getClass().getName() + ":" + e.getMessage();
            this.responseMsg.setStatus(ProtocolStatus.SerializeError);;
View Full Code Here

Examples of net.hasor.rsf.serialize.SerializeFactory

            throw new RsfException(ProtocolStatus.NotFound, "service was not found.");
        }
        //2.反序列化
        String[] pTypes = this.requestMsg.getParameterTypes();
        try {
            SerializeFactory serializeFactory = this.rsfContext.getSerializeFactory();
            this.parameterObjects = this.requestMsg.toParameters(serializeFactory);
            //
            this.parameterTypes = new Class<?>[pTypes.length];
            for (int i = 0; i < pTypes.length; i++) {
                this.parameterTypes[i] = ProtocolUtils.toJavaType(pTypes[i], Thread.currentThread().getContextClassLoader());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.