Class ServletWrapperKey
java.lang.Object
net.sf.basedb.clients.web.extensions.ServletWrapperKey
- All Implemented Interfaces:
ObjectKey<ServletWrapper>
Key implementation used to identify servlets.
We need both the file name and the servlet name
to be able to do this.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2011-04-14 09:45:23 +0200 (to, 14 apr 2011) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionServletWrapperKey
(String jarFile, String servletName) Create a new key for a servlet defined in a file with the given name. -
Method Summary
-
Field Details
-
jarFile
-
servletName
-
-
Constructor Details
-
ServletWrapperKey
Create a new key for a servlet defined in a file with the given name.- Parameters:
jarFile
- The name of the JAR file in which the servlet was definedservletName
- The name of the servlet
-
-
Method Details
-
toDescription
Description copied from interface:ObjectKey
Get a string description of the key that is suitable for use in (error) messages to users.- Specified by:
toDescription
in interfaceObjectKey<ServletWrapper>
-
hashCode
public int hashCode() -
equals
-
toString
-