Package org.openbel.framework.ws.model

Examples of org.openbel.framework.ws.model.DialectHandle


        Dialect d = dialectFactory.createDefaultDialect(kam.getKamInfo());

        GetDefaultDialectResponse resp =
                OBJECT_FACTORY.createGetDefaultDialectResponse();
        DialectHandle dh = OBJECT_FACTORY.createDialectHandle();
        dh.setHandle(dialectService.cacheDialect(d));
        resp.setDialect(dh);
        return resp;
    }
View Full Code Here


            throw new RequestException("Failed to construct dialect", e);
        }

        GetCustomDialectResponse resp =
                OBJECT_FACTORY.createGetCustomDialectResponse();
        DialectHandle dh = OBJECT_FACTORY.createDialectHandle();
        dh.setHandle(dialectService.cacheDialect(d));
        resp.setDialect(dh);
        return resp;
    }
View Full Code Here

        if (request == null) {
            throw new MissingRequest(RELEASE_DIALECT_REQUEST);
        }

        DialectHandle dialect = request.getDialect();

        // Release the kam
        dialectService.releaseDialect(dialect.getHandle());

        // Set up the response
        return OBJECT_FACTORY.createReleaseDialectResponse();
    }
View Full Code Here

TOP

Related Classes of org.openbel.framework.ws.model.DialectHandle

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.