01: /*
02: * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
03: * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
04: */
05:
06: package javax.xml.ws.handler;
07:
08: import javax.xml.ws.LogicalMessage;
09:
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 extends MessageContext {
18:
19: /** Gets the message from this message context
20: *
21: * @return The contained message; returns <code>null</code> if no
22: * message is present in this message context
23: **/
24: public LogicalMessage getMessage();
25: }
|