1 22 package org.objectweb.petals.binding.xquarebc.mock; 23 24 import java.net.URI ; 25 import java.util.Set ; 26 27 import javax.jbi.messaging.ExchangeStatus; 28 import javax.jbi.messaging.Fault; 29 import javax.jbi.messaging.MessagingException; 30 import javax.jbi.messaging.NormalizedMessage; 31 import javax.jbi.messaging.RobustInOnly; 32 import javax.jbi.servicedesc.ServiceEndpoint; 33 import javax.xml.namespace.QName ; 34 35 40 public class MockRobustInOnly implements RobustInOnly { 41 42 public NormalizedMessage getInMessage() throws IllegalStateException { 43 return null; 44 } 45 46 public void setInMessage(NormalizedMessage msg) throws MessagingException { 47 } 48 49 public Fault createFault() throws MessagingException { 50 return null; 51 } 52 53 public NormalizedMessage createMessage() throws MessagingException { 54 return new MockNormalizedMessage(); 55 } 56 57 public ServiceEndpoint getEndpoint() { 58 return null; 59 } 60 61 public Exception getError() { 62 return null; 63 } 64 65 public String getExchangeId() { 66 return null; 67 } 68 69 public Fault getFault() { 70 return null; 71 } 72 73 public QName getInterfaceName() { 74 return null; 75 } 76 77 public NormalizedMessage getMessage(String name) { 78 return null; 79 } 80 81 public QName getOperation() { 82 return null; 83 } 84 85 public URI getPattern() { 86 return null; 87 } 88 89 public Object getProperty(String name) { 90 return null; 91 } 92 93 public Set getPropertyNames() { 94 return null; 95 } 96 97 public Role getRole() { 98 return null; 99 } 100 101 public QName getService() { 102 return null; 103 } 104 105 public ExchangeStatus getStatus() { 106 return ExchangeStatus.DONE; 107 } 108 109 public boolean isTransacted() { 110 return false; 111 } 112 113 public void setEndpoint(ServiceEndpoint endpoint) { 114 } 115 116 public void setError(Exception error) { 117 } 118 119 public void setFault(Fault fault) throws MessagingException { 120 } 121 122 public void setInterfaceName(QName interfaceName) { 123 } 124 125 public void setMessage(NormalizedMessage msg, String name) 126 throws MessagingException { 127 } 128 129 public void setOperation(QName name) { 130 } 131 132 public void setProperty(String name, Object obj) { 133 } 134 135 public void setService(QName service) { 136 } 137 138 public void setStatus(ExchangeStatus status) throws MessagingException { 139 } 140 141 } 142 | Popular Tags |