Class ModuleDescriptorImpl
- java.lang.Object
-
- fish.payara.appserver.micro.services.data.ModuleDescriptorImpl
-
- All Implemented Interfaces:
ModuleDescriptor
,Serializable
public class ModuleDescriptorImpl extends Object implements ModuleDescriptor
- Author:
- steve
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModuleDescriptorImpl(ModuleInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContextRoot()
Returns the context root of the application if anyString
getName()
Returns the name of the moduleMap<String,String>
getServletMappings()
Returns the Servlet mappings present in this module if any, or the empty list if noneString
getType()
Returns the type of the module e.g.
-
-
-
Constructor Detail
-
ModuleDescriptorImpl
public ModuleDescriptorImpl(ModuleInfo info)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:ModuleDescriptor
Returns the name of the module- Specified by:
getName
in interfaceModuleDescriptor
- Returns:
-
getContextRoot
public String getContextRoot()
Description copied from interface:ModuleDescriptor
Returns the context root of the application if any- Specified by:
getContextRoot
in interfaceModuleDescriptor
- Returns:
-
getType
public String getType()
Description copied from interface:ModuleDescriptor
Returns the type of the module e.g. war- Specified by:
getType
in interfaceModuleDescriptor
- Returns:
-
getServletMappings
public Map<String,String> getServletMappings()
Description copied from interface:ModuleDescriptor
Returns the Servlet mappings present in this module if any, or the empty list if noneThe key in each entry is the mapping, e.g.
*.jsp
, the value is the Servlet name, e.g.JspServlet
- Specified by:
getServletMappings
in interfaceModuleDescriptor
- Returns:
-
-