|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.wsclient.cache.impl.WSCacheKey
public class WSCacheKey
Default implementation of the IWSCacheKey
interface
Cache entry uniqueness is determined by
Constructor Summary | |
---|---|
WSCacheKey(String sessionID,
String method,
ClassLoader classLoader,
Object[] args)
Construct a new WSCacheKey will all of the info needed to populate the key |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 argumentsMethod Detail |
---|
public String getMethod()
public Object[] getArgs()
public ClassLoader getClassLoader()
public String getSessionId()
public boolean equals(Object o)
equals
in class Object
java.lang.Object#equals()
public int hashCode()
hashCode
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |