Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IBeanFlowConstruct |
|
| 0.0;0 |
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.module.ibeans.config; | |
8 | ||
9 | import java.util.Collections; | |
10 | import java.util.List; | |
11 | ||
12 | import org.mule.api.MuleContext; | |
13 | import org.mule.api.processor.MessageProcessor; | |
14 | import org.mule.construct.SimpleFlowConstruct; | |
15 | ||
16 | /** | |
17 | * This is an empty flow construct that is used to host an iBean as a component with | |
18 | * one or more component bindings. Each method annotated with | |
19 | * {@link org.ibeans.annotation.Call} or {@link org.ibeans.annotation.Template} has | |
20 | * an associated component binding associated with it. | |
21 | * | |
22 | * @see org.mule.module.ibeans.config.CallInterfaceBinding | |
23 | */ | |
24 | public class IBeanFlowConstruct extends SimpleFlowConstruct | |
25 | { | |
26 | public IBeanFlowConstruct(String name, MuleContext muleContext) | |
27 | { | |
28 | 0 | super(name, muleContext); |
29 | 0 | final List<MessageProcessor> messageProcessors = Collections.emptyList(); |
30 | 0 | setMessageProcessors(messageProcessors); |
31 | 0 | } |
32 | ||
33 | @Override | |
34 | public String getConstructType() | |
35 | { | |
36 | 0 | return "Ibeans-Flow"; |
37 | } | |
38 | } |