public class PluginManager extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
PluginManager() |
Modifier and Type | Method and Description |
---|---|
static int |
getNumOntManagers()
Funzione per avere il numero di implementazioni delle API per gestire il repository
|
static OntologyManagerFactory<ModelConfiguration> |
getOntManagerImpl(String idRepImpl)
Funzione per avere una particolare implemementazione delle API per gestire il repository
|
static ArrayList<String> |
getOntManagerImplIDs()
this method retrieves all IDs of available
OntologyManagerFactory implementations installed in
the OSGi framework |
static Collection<PluginFactory<?>> |
getPluginFactories(String extensionPoint) |
static <T extends PluginConfiguration> |
getPluginFactory(String factoryID) |
static ArrayList<PluginInterface> |
getPlugins()
this method retrieves all available
PluginInterface implementations installed in the OSGi
framework |
static ArrayList<String> |
getPluginsIDs()
this method retrieves all IDs of available
PluginInterface implementations installed in the
OSGi framework |
static boolean |
isDirectAccessTest() |
static void |
setContext(org.osgi.framework.BundleContext toSet) |
static void |
setDirectAccessTest(boolean test) |
static void |
setTestOntManagerFactoryImpl(Class<? extends OntologyManagerFactory<ModelConfiguration>> ontmgrcls) |
public static boolean isDirectAccessTest()
public static void setDirectAccessTest(boolean test)
public static void setContext(org.osgi.framework.BundleContext toSet)
public static void setTestOntManagerFactoryImpl(Class<? extends OntologyManagerFactory<ModelConfiguration>> ontmgrcls)
public static ArrayList<String> getPluginsIDs()
PluginInterface
implementations installed in the
OSGi frameworkpublic static ArrayList<PluginInterface> getPlugins()
PluginInterface
implementations installed in the OSGi
frameworkpublic static ArrayList<String> getOntManagerImplIDs()
OntologyManagerFactory
implementations installed in
the OSGi frameworkpublic static OntologyManagerFactory<ModelConfiguration> getOntManagerImpl(String idRepImpl) throws UnavailableResourceException
idRepImpl
- id dell'implementazione desiderataUnavailableResourceException
public static int getNumOntManagers()
public static <T extends PluginConfiguration> PluginFactory<T> getPluginFactory(String factoryID)
public static Collection<PluginFactory<?>> getPluginFactories(String extensionPoint)
Copyright © 2016 ART Group, University of Rome, Tor Vergata. All rights reserved.