public class PluginServiceImpl extends Object implements IDiagramPluginService
| Modifier and Type | Method and Description |
|---|---|
IDiagramPlugin |
findPlugin(javax.servlet.http.HttpServletRequest request,
String name) |
static IDiagramPluginService |
getInstance(javax.servlet.ServletContext context) |
static Map<String,IDiagramPlugin> |
getLocalPluginsRegistry(javax.servlet.ServletContext context)
Initialize the local plugins registry
|
Collection<IDiagramPlugin> |
getRegisteredPlugins(javax.servlet.http.HttpServletRequest request) |
public static IDiagramPluginService getInstance(javax.servlet.ServletContext context)
context - the context needed for initializationpublic static Map<String,IDiagramPlugin> getLocalPluginsRegistry(javax.servlet.ServletContext context)
context - the servlet context necessary to grab
the files inside the servlet.public Collection<IDiagramPlugin> getRegisteredPlugins(javax.servlet.http.HttpServletRequest request)
getRegisteredPlugins in interface IDiagramPluginServicerequest - the context in which the plugins are requested.public IDiagramPlugin findPlugin(javax.servlet.http.HttpServletRequest request, String name)
findPlugin in interface IDiagramPluginServicerequest - the context in which the plugin is requestedname - the name of the plugin to findCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.