Package org.apache.stanbol.entityhub.core.site

Examples of org.apache.stanbol.entityhub.core.site.ReferencedSiteConfigurationImpl


                    "No Component Context and/or Dictionary properties object parsed to the acticate methode");
        }
        this.context = context;
        // create the SiteConfiguration based on the parsed properties
        // NOTE that the constructor also validation of the parsed configuration
        siteConfiguration = new ReferencedSiteConfigurationImpl(context.getProperties());
        if (PROHIBITED_SITE_IDS.contains(siteConfiguration.getId().toLowerCase())) {
            throw new ConfigurationException(SiteConfiguration.ID, String.format(
                "The ID '%s' of this Referenced Site is one of the following "
                        + "prohibited IDs: {} (case insensitive)", siteConfiguration.getId(),
                PROHIBITED_SITE_IDS));
View Full Code Here


        }
        this.cc = ctx;
        this.bc = ctx.getBundleContext();
        // create the SiteConfiguration based on the parsed properties
        // NOTE that the constructor also validation of the parsed configuration
        siteConfiguration = new ReferencedSiteConfigurationImpl(ctx.getProperties());
        if (PROHIBITED_SITE_IDS.contains(siteConfiguration.getId().toLowerCase())) {
            throw new ConfigurationException(SiteConfiguration.ID, String.format(
                "The ID '%s' of this Referenced Site is one of the following "
                        + "prohibited IDs: {} (case insensitive)", siteConfiguration.getId(),
                PROHIBITED_SITE_IDS));
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.core.site.ReferencedSiteConfigurationImpl

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.