Examples of unsetEventingURI()


Examples of org.apache.airavata.registry.api.AiravataRegistry2.unsetEventingURI()

    @Path(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI)
    @Produces(MediaType.TEXT_PLAIN)
    public Response unsetEventingURI() {
        AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
        try {
            airavataRegistry.unsetEventingURI();
            Response.ResponseBuilder builder = Response.status(Response.Status.OK);
            builder.entity("Eventing URI deleted successfully...");
            return builder.build();
        } catch (Throwable e) {
            return WebAppUtil.reportInternalServerError(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI, e);
View Full Code Here

Examples of org.apache.airavata.registry.api.AiravataRegistry2.unsetEventingURI()

            if (initialized) {
                initialized = false;
                AiravataRegistry2 registry = (AiravataRegistry2) configurationcontext
                        .getProperty(JCR_REGISTRY);
                if(registry != null && thread != null){
                registry.unsetEventingURI();
                thread.interrupt();
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    log.info("Message box url update thread is interrupted");
View Full Code Here

Examples of org.apache.airavata.registry.api.AiravataRegistry2.unsetEventingURI()

    @Path(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI)
    @Produces(MediaType.TEXT_PLAIN)
    public Response unsetEventingURI() {
        AiravataRegistry2 airavataRegistry = RegPoolUtils.acquireRegistry(context);
        try {
            airavataRegistry.unsetEventingURI();
            Response.ResponseBuilder builder = Response.status(Response.Status.OK);
            builder.entity("Eventing URI deleted successfully...");
            return builder.build();
        } catch (Throwable e) {
            return WebAppUtil.reportInternalServerError(ResourcePathConstants.ConfigResourcePathConstants.DELETE_EVENTING_URI, e);
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.