1 23 package com.sun.enterprise.admin.wsmgmt; 24 25 import javax.xml.soap.SOAPMessage ; 26 import java.util.Iterator ; 27 28 32 public class SOAPMessageContext_1_0 implements SOAPMessageContext { 33 34 39 public SOAPMessageContext_1_0( 40 com.sun.xml.rpc.spi.runtime.SOAPMessageContext smc) { 41 if ( smc == null) { 42 throw new IllegalArgumentException (); 43 } 44 _smc = smc; 45 } 46 47 52 public SOAPMessage getMessage() { 53 return _smc.getMessage(); 54 } 55 56 61 public Iterator getPropertyNames() { 62 return _smc.getPropertyNames(); 63 } 64 65 70 public Object getProperty(String name) { 71 return _smc.getProperty(name); 72 } 73 74 79 public void setMessage(SOAPMessage msg) { 80 _smc.setMessage(msg); 81 } 82 83 88 public void setMessageContext(com.sun.xml.rpc.spi.runtime.SOAPMessageContext 89 smc) { 90 if ( smc == null) { 91 throw new IllegalArgumentException (); 92 } 93 _smc = smc; 94 } 95 96 101 public String getHTTPRequestHeaders() { 102 return null; 103 } 104 105 110 public String getHTTPResponseHeaders() { 111 return null; 112 } 113 114 private com.sun.xml.rpc.spi.runtime.SOAPMessageContext _smc = null; 116 117 } 118 | Popular Tags |