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