Package net.hasor.rsf.metadata

Examples of net.hasor.rsf.metadata.ServiceMetaData


    //
    private ServiceMetaData data = null;
    @Override
    public ServiceMetaData getService(String serviceName) {
        if (data == null) {
            data = new ServiceMetaData(TestServices.class);
            data.setServiceName(serviceName);
        }
        return data;
    }
View Full Code Here


            response.sendStatus(ProtocolStatus.RequestTimeout, "request timeout. (client parameter).");
            return;
        }
        //
        //3.check target Object
        ServiceMetaData metaData = request.getMetaData();
        Method targetMethod = request.getTargetMethod();
        Object targetObj = this.rsfContext.getBean(metaData);
        if (targetObj == null) {
            response.sendStatus(ProtocolStatus.Forbidden, "failed to get service.");
            return;
View Full Code Here

TOP

Related Classes of net.hasor.rsf.metadata.ServiceMetaData

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.