Class ServletWrapperKey
- java.lang.Object
-
- net.sf.basedb.clients.web.extensions.ServletWrapperKey
-
- All Implemented Interfaces:
ObjectKey<ServletWrapper>
public class ServletWrapperKey extends Object implements 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
Fields Modifier and Type Field Description private String
jarFile
private String
servletName
-
Constructor Summary
Constructors Constructor Description ServletWrapperKey(String jarFile, String servletName)
Create a new key for a servlet defined in a file with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
String
toDescription()
Get a string description of the key that is suitable for use in (error) messages to users.String
toString()
-
-
-
Method Detail
-
toDescription
public String 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>
-
-