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