org.mule.api.annotations.param
Class InboundAttachmentsAnnotationComponent
java.lang.Object
org.mule.api.annotations.param.InboundAttachmentsAnnotationComponent
public class InboundAttachmentsAnnotationComponent
- extends Object
Tests various cases for how attachments can be injected into a component invocation
Method Summary |
DataHandler |
processAttachment(DataHandler foo)
|
String |
processAttachmentOptional(DataHandler faz)
|
Map<String,DataHandler> |
processAttachments(Map<String,DataHandler> attachments)
|
Map<String,DataHandler> |
processAttachmentsAll(Map<String,DataHandler> attachments)
|
Map<String,DataHandler> |
processAttachmentsAllOptional(Map<String,DataHandler> attachments)
|
List |
processAttachmentsList(List<DataHandler> attachments)
|
List |
processAttachmentsListAll(List<DataHandler> attachments)
|
List |
processAttachmentsListAllOptional(List<DataHandler> attachments)
|
List |
processAttachmentsListMultiWildcard(List<DataHandler> attachments)
|
List |
processAttachmentsListOptional(List<DataHandler> attachments)
|
List |
processAttachmentsListWildcard(List<DataHandler> attachments)
|
Map<String,DataHandler> |
processAttachmentsMultiWildcard(Map<String,DataHandler> attachments)
|
Map<String,DataHandler> |
processAttachmentsOptional(Map<String,DataHandler> attachments)
|
Map<String,DataHandler> |
processAttachmentsWildcard(Map<String,DataHandler> attachments)
|
String |
processAttachmentWithType(String foo)
|
List |
processSingleAttachmentList(List<DataHandler> attachments)
|
Map<String,DataHandler> |
processSingleMapAttachment(Map<String,DataHandler> attachments)
|
Map<String,DataHandler> |
processUnmodifiableAttachments(Map<String,DataHandler> attachments)
|
List |
processUnmodifiableAttachmentsList(List<DataHandler> attachments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InboundAttachmentsAnnotationComponent
public InboundAttachmentsAnnotationComponent()
processAttachment
public DataHandler processAttachment(@InboundAttachments(value="foo")
DataHandler foo)
processAttachmentOptional
public String processAttachmentOptional(@InboundAttachments(value="faz?")
DataHandler faz)
processAttachmentWithType
public String processAttachmentWithType(@InboundAttachments(value="foo")
String foo)
processAttachments
public Map<String,DataHandler> processAttachments(@InboundAttachments(value="foo, bar")
Map<String,DataHandler> attachments)
processAttachmentsAll
public Map<String,DataHandler> processAttachmentsAll(@InboundAttachments(value="*")
Map<String,DataHandler> attachments)
processAttachmentsWildcard
public Map<String,DataHandler> processAttachmentsWildcard(@InboundAttachments(value="ba*")
Map<String,DataHandler> attachments)
processAttachmentsMultiWildcard
public Map<String,DataHandler> processAttachmentsMultiWildcard(@InboundAttachments(value="ba*, f*")
Map<String,DataHandler> attachments)
processSingleMapAttachment
public Map<String,DataHandler> processSingleMapAttachment(@InboundAttachments(value="foo")
Map<String,DataHandler> attachments)
processAttachmentsOptional
public Map<String,DataHandler> processAttachmentsOptional(@InboundAttachments(value="foo, bar, baz?")
Map<String,DataHandler> attachments)
processAttachmentsAllOptional
public Map<String,DataHandler> processAttachmentsAllOptional(@InboundAttachments(value="foo?, bar?, baz?")
Map<String,DataHandler> attachments)
processUnmodifiableAttachments
public Map<String,DataHandler> processUnmodifiableAttachments(@InboundAttachments(value="foo, bar")
Map<String,DataHandler> attachments)
processAttachmentsList
public List processAttachmentsList(@InboundAttachments(value="foo, bar, baz")
List<DataHandler> attachments)
processAttachmentsListAll
public List processAttachmentsListAll(@InboundAttachments(value="*")
List<DataHandler> attachments)
processSingleAttachmentList
public List processSingleAttachmentList(@InboundAttachments(value="foo")
List<DataHandler> attachments)
processAttachmentsListOptional
public List processAttachmentsListOptional(@InboundAttachments(value="foo, bar, baz?")
List<DataHandler> attachments)
processAttachmentsListAllOptional
public List processAttachmentsListAllOptional(@InboundAttachments(value="foo?, bar?, baz?")
List<DataHandler> attachments)
processUnmodifiableAttachmentsList
public List processUnmodifiableAttachmentsList(@InboundAttachments(value="foo, bar")
List<DataHandler> attachments)
processAttachmentsListWildcard
public List processAttachmentsListWildcard(@InboundAttachments(value="ba*")
List<DataHandler> attachments)
processAttachmentsListMultiWildcard
public List processAttachmentsListMultiWildcard(@InboundAttachments(value="ba*, f*")
List<DataHandler> attachments)
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.