1 22 package org.objectweb.petals.engine.csv.Mock; 23 24 import java.util.Set ; 25 26 import javax.activation.DataHandler ; 27 import javax.jbi.messaging.Fault; 28 import javax.jbi.messaging.MessagingException; 29 import javax.security.auth.Subject ; 30 import javax.xml.transform.Source ; 31 32 38 public class MockFault implements Fault{ 39 40 public void addAttachment(String id, DataHandler content) throws MessagingException { 41 42 } 43 44 public DataHandler getAttachment(String id) { 45 return null; 46 } 47 48 public Set getAttachmentNames() { 49 return null; 50 } 51 52 public Source getContent() { 53 return null; 54 } 55 56 57 public Object getProperty(String name) { 58 return null; 59 } 60 61 public Set getPropertyNames() { 62 return null; 63 } 64 65 public Subject getSecuritySubject() { 66 return null; 67 } 68 69 public void removeAttachment(String id) throws MessagingException { 70 71 } 72 73 74 public void setContent(Source content) throws MessagingException { 75 76 } 77 78 public void setProperty(String name, Object value) { 79 80 } 81 82 public void setSecuritySubject(Subject subject) { 83 84 } 85 86 } 87 88 89 | Popular Tags |