public class ModuleDescriptorImpl extends Object implements ModuleDescriptor
| Constructor and Description |
|---|
ModuleDescriptorImpl(ModuleInfo info) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContextRoot()
Returns the context root of the application if any
|
String |
getName()
Returns the name of the module
|
Map<String,String> |
getServletMappings()
Returns the Servlet mappings present in this module if any, or the empty list if none
|
String |
getType()
Returns the type of the module e.g.
|
public ModuleDescriptorImpl(ModuleInfo info)
public String getName()
ModuleDescriptorgetName in interface ModuleDescriptorpublic String getContextRoot()
ModuleDescriptorgetContextRoot in interface ModuleDescriptorpublic String getType()
ModuleDescriptorgetType in interface ModuleDescriptorpublic Map<String,String> getServletMappings()
ModuleDescriptor
The key in each entry is the mapping, e.g. *.jsp, the value is the Servlet name, e.g. JspServlet
getServletMappings in interface ModuleDescriptorCopyright © 2019. All rights reserved.