1 /* 2 * $Id: IBeanFlowConstruct.java 19026 2010-08-16 07:30:47Z dirk.olmes $ 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 super(name, muleContext); 33 final List<MessageProcessor> messageProcessors = Collections.emptyList(); 34 setMessageProcessors(messageProcessors); 35 } 36 }