public class WSCacheKey extends Object implements IWSCacheKey
IWSCacheKey
interface
Cache entry uniqueness is determined by
Constructor and Description |
---|
WSCacheKey(String sessionID,
String method,
ClassLoader classLoader,
Object[] args)
Construct a new WSCacheKey will all of the info needed to populate the key
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
(non-Javadoc)
|
Object[] |
getArgs()
Get the array of web service method arguments used as part of the unique cache key
|
ClassLoader |
getClassLoader()
Get the web service interface classloader used as part of the unique cache key
|
String |
getMethod()
Get the web service method used as part of the unique cache key
|
String |
getSessionId()
Get the session ID of the current HTTP session with the web service endpoint, used as part of the unique cache key
|
int |
hashCode() |
public WSCacheKey(String sessionID, String method, ClassLoader classLoader, Object[] args)
sessionID
- the session ID of the curren HTTP sessio, preventing caching collisions
when a browser is multiple tabs open with the same sessionIDmethod
- the name of the web service method to be invokedclassLoader
- the classloader of the web service interface, preventing caching collisions
when the same global WsClient instance is shared by multiple web applications.args
- the web service argumentspublic String getMethod()
public Object[] getArgs()
public ClassLoader getClassLoader()
public String getSessionId()
public boolean equals(Object o)