Examples of ChainManager


Examples of org.apache.stanbol.enhancer.servicesapi.ChainManager

    private final Map<String, Entry<ServiceReference,Chain>> chains;
    private final Chain defaultChain;
   
    public ChainsRootResource(@Context ServletContext context) {
        // bind the job manager by looking it up from the servlet request context
        ChainManager chainManager = ContextHelper.getServiceFromContext(ChainManager.class, context);
        if(chainManager == null){
            throw new WebApplicationException(new IllegalStateException(
                "The required ChainManager Service is not available!"));
        }
        defaultChain = chainManager.getDefault();
        chains = buildChainsMap(chainManager);
    }
View Full Code Here

Examples of org.apache.stanbol.enhancer.servicesapi.ChainManager

    private final Map<String, Entry<ServiceReference,Chain>> chains;
    private final Chain defaultChain;
   
    public ChainsRootResource(@Context ServletContext context) {
        // bind the job manager by looking it up from the servlet request context
        ChainManager chainManager = ContextHelper.getServiceFromContext(ChainManager.class, context);
        if(chainManager == null){
            throw new WebApplicationException(new IllegalStateException(
                "The required ChainManager Service is not available!"));
        }
        defaultChain = chainManager.getDefault();
        chains = buildChainsMap(chainManager);
    }
View Full Code Here

Examples of org.apache.stanbol.enhancer.servicesapi.ChainManager

    private final Map<String, Entry<ServiceReference,Chain>> chains;
    private final Chain defaultChain;
   
    public ChainsRootResource(@Context ServletContext context) {
        // bind the job manager by looking it up from the servlet request context
        ChainManager chainManager = ContextHelper.getServiceFromContext(ChainManager.class, context);
        if(chainManager == null){
            throw new WebApplicationException(new IllegalStateException(
                "The required ChainManager Service is not available!"));
        }
        defaultChain = chainManager.getDefault();
        chains = buildChainsMap(chainManager);
    }
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.