public class OServerPluginManager extends Object implements com.orientechnologies.common.util.OService
Constructor and Description |
---|
OServerPluginManager() |
Modifier and Type | Method and Description |
---|---|
void |
config(OServer iServer) |
protected com.orientechnologies.common.util.OCallable<Object,String> |
createStaticLinkCallback(OServerPluginInfo iPluginData,
URL wwwURL) |
String |
getName() |
OServerPluginInfo |
getPluginByFile(String iFileName) |
OServerPluginInfo |
getPluginByName(String iName) |
String |
getPluginNameByFile(String iFileName) |
String[] |
getPluginNames() |
Collection<OServerPluginInfo> |
getPlugins() |
void |
registerPlugin(OServerPluginInfo iPlugin) |
protected void |
registerStaticDirectory(OServerPluginInfo iPluginData) |
void |
shutdown() |
protected OServerPlugin |
startPluginClass(URLClassLoader pluginClassLoader,
String iClassName,
OServerParameterConfiguration[] params) |
void |
startup() |
void |
uninstallPluginByFile(String iFileName) |
protected String |
updatePlugin(File pluginFile) |
public void config(OServer iServer)
public void startup()
startup
in interface com.orientechnologies.common.util.OService
public OServerPluginInfo getPluginByName(String iName)
public OServerPluginInfo getPluginByFile(String iFileName)
public String[] getPluginNames()
public void registerPlugin(OServerPluginInfo iPlugin)
public Collection<OServerPluginInfo> getPlugins()
public void uninstallPluginByFile(String iFileName)
public void shutdown()
shutdown
in interface com.orientechnologies.common.util.OService
public String getName()
getName
in interface com.orientechnologies.common.util.OService
protected void registerStaticDirectory(OServerPluginInfo iPluginData)
protected com.orientechnologies.common.util.OCallable<Object,String> createStaticLinkCallback(OServerPluginInfo iPluginData, URL wwwURL)
protected OServerPlugin startPluginClass(URLClassLoader pluginClassLoader, String iClassName, OServerParameterConfiguration[] params) throws Exception
Exception
Copyright © 2009–2015 Orient Technologies. All rights reserved.