KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > xml > ws > handler > LogicalMessageContext


1 /*
2  * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
3  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4  */

5
6 package javax.xml.ws.handler;
7
8 import javax.xml.ws.LogicalMessage;
9
10 /** The <code>LogicalMessageContext</code> interface extends
11  * <code>MessageContext</code> to
12  * provide access to a the contained message as a protocol neutral
13  * LogicalMessage
14  *
15  * @since JAX-WS 2.0
16 **/

17 public interface LogicalMessageContext
18                     extends MessageContext {
19
20   /** Gets the message from this message context
21    *
22    * @return The contained message; returns <code>null</code> if no
23    * message is present in this message context
24   **/

25   public LogicalMessage getMessage();
26 }
27
Popular Tags