Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MuleMessageAware |
|
| 1.0;1 |
1 | /* | |
2 | * $Id: MuleMessageAware.java 19191 2010-08-25 21:05:23Z tcarlson $ | |
3 | * -------------------------------------------------------------------------------------- | |
4 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
5 | * | |
6 | * The software in this package is published under the terms of the CPAL v1.0 | |
7 | * license, a copy of which has been included with this distribution in the | |
8 | * LICENSE.txt file. | |
9 | */ | |
10 | package org.mule.api.context.notification; | |
11 | ||
12 | import org.mule.api.MuleMessage; | |
13 | ||
14 | /** | |
15 | * Signals that a Notification can have a {@link MuleMessage} available through it. The message set will be the one | |
16 | * available when the notification was triggered. | |
17 | * Note that the message returned may also be a {@link org.mule.api.MuleMessageCollection} if there was more than one | |
18 | * message available when the notification was created. | |
19 | * | |
20 | * @see org.mule.api.MuleMessage | |
21 | * @see org.mule.api.MuleMessageCollection | |
22 | */ | |
23 | public interface MuleMessageAware | |
24 | { | |
25 | public MuleMessage getMessage(); | |
26 | } |