BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.webservice.context
Class WebServiceContext

java.lang.Object
  |
  +--weblogic.webservice.context.WebServiceContext
Direct Known Subclasses:
WebServiceContextImpl

public abstract class WebServiceContext
extends java.lang.Object

WebServiceContext - keep track of the context info that need to be passed around along with an invocation.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Method Summary
static WebServiceContext currentContext()
           
abstract  WebServiceHeader getHeader()
           
abstract  javax.xml.rpc.handler.soap.SOAPMessageContext getLastMessageContext()
           
abstract  WebServiceSession getSession()
           
static void register(WebServiceContext context)
          register the context for the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

currentContext

public static WebServiceContext currentContext()
                                        throws ContextNotFoundException

Returns:
 

register

public static void register(WebServiceContext context)
register the context for the current thread.

Parameters:
context - context to be registered. If the value is null then the context will be removed.

getHeader

public abstract WebServiceHeader getHeader()

Returns:
 

getSession

public abstract WebServiceSession getSession()

Returns:
 

getLastMessageContext

public abstract javax.xml.rpc.handler.soap.SOAPMessageContext getLastMessageContext()

Returns:
 

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b