Package pellet4topbraid.sm

Source Code of pellet4topbraid.sm.PelletPluginActivator

/*
* This file is part of the pellet4topbraid project.
* Homepage:  http://code.google.com/p/pellet4topbraid/
*
*/

package pellet4topbraid.sm;

import org.topbraid.core.activator.IPluginActivator;
import org.topbraid.spin.sparqlmotion.modules.GenericModuleType;
import org.topbraid.spin.sparqlmotion.modules.SMModuleFactory;


public class PelletPluginActivator implements IPluginActivator {

  @Override
  public void activate() {
    // Called when TopBraid starts up to register new SM module type
    SMModuleFactory.get().registerModuleType(
      new ApplyPelletModule(),
      new GenericModuleType( ApplyPelletModule.class ),
      "urn:x-pellet4topbraid#ApplyPellet"
    );
  }
}
TOP

Related Classes of pellet4topbraid.sm.PelletPluginActivator

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.