Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Receiveable |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.tck.functional; | |
8 | ||
9 | /** | |
10 | * Interface only to be used by the {@link org.mule.tck.functional.FunctionalTestComponent}. | |
11 | */ | |
12 | public interface Receiveable | |
13 | { | |
14 | /** | |
15 | * This method is used by some WebServices tests where you don' want to be introducing the {@link org.mule.api.MuleEventContext} as | |
16 | * a complex type. | |
17 | * | |
18 | * @param data the event data received | |
19 | * @return the processed message | |
20 | * @throws Exception | |
21 | */ | |
22 | public Object onReceive(Object data) throws Exception; | |
23 | } |