Package org.apache.stanbol.entityhub.core.yard

Examples of org.apache.stanbol.entityhub.core.yard.SimpleYardConfig


    protected final void activate(ComponentContext context) throws ConfigurationException {
        log.info("in "+ClerezzaYard.class+" activate with context "+context);
        if(context == null || context.getProperties() == null){
            throw new IllegalStateException("No valid"+ComponentContext.class+" parsed in activate!");
        }
        activate(new SimpleYardConfig(context.getProperties()));
    }
View Full Code Here


   
    private static Yard yard;
   
    @BeforeClass
    public static final void initYard(){
        YardConfig config = new SimpleYardConfig("urn:yard.clerezza:testYardId");
        config.setName("Clerezza Yard Test");
        config.setDescription("The Clerezza Yard instance used to execute the Unit Tests defined for the Yard Interface");
        yard = new ClerezzaYard(config);
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.entityhub.core.yard.SimpleYardConfig

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.