public class WebServiceContext
extends java.lang.Object
Constructor and Description |
---|
WebServiceContext(java.lang.String userName,
java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
static void |
destroyCurrentContext() |
static WebServiceContext |
getCurrentContext() |
java.lang.String |
getPassword() |
java.lang.String |
getUserName() |
static void |
setCurrentContext(WebServiceContext context)
Sets the given Web Service Context as active for this thread
|
public WebServiceContext(java.lang.String userName, java.lang.String password)
public java.lang.String getUserName()
public java.lang.String getPassword()
public static WebServiceContext getCurrentContext()
public static void setCurrentContext(WebServiceContext context)
context
- public static void destroyCurrentContext()