Examples of deregisterScope()


Examples of org.apache.stanbol.ontologymanager.ontonet.api.scope.ScopeRegistry.deregisterScope()

    @DELETE
    public void clearOntologies() {
        // First clear the registry...
        ScopeRegistry reg = onm.getScopeRegistry();
        for (OntologyScope scope : reg.getRegisteredScopes())
            reg.deregisterScope(scope);
        // ...then clear the store.
        // TODO : the other way around?
    }

    public Set<OntologyScope> getActiveScopes() {
View Full Code Here

Examples of org.apache.stanbol.ontologymanager.ontonet.api.scope.ScopeRegistry.deregisterScope()

                                    @Context UriInfo uriInfo,
                                    @Context HttpHeaders headers,
                                    @Context ServletContext servletContext) {

        ScopeRegistry reg = onm.getScopeRegistry();
        reg.deregisterScope(scope);
        scope = null;
        ResponseBuilder rb = Response.ok();
        addCORSOrigin(servletContext, rb, headers);
        return rb.build();
    }
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.