org.jbpm.designer.web.plugin.impl
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 IDiagramPluginService
request
- the context in which the plugins are requested.public IDiagramPlugin findPlugin(javax.servlet.http.HttpServletRequest request, String name)
findPlugin
in interface IDiagramPluginService
request
- the context in which the plugin is requestedname
- the name of the plugin to findCopyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.