View Javadoc
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.cxf.config;
8   
9   import org.mule.module.cxf.CxfOutboundMessageProcessor;
10  import org.mule.module.cxf.builder.ProxyClientMessageProcessorBuilder;
11  
12  import org.springframework.beans.factory.FactoryBean;
13  
14  public class ProxyClientFactoryBean extends ProxyClientMessageProcessorBuilder implements FactoryBean
15  {
16  
17      public Object getObject() throws Exception
18      {
19          return build();
20      }
21  
22      public Class<?> getObjectType()
23      {
24          return CxfOutboundMessageProcessor.class;
25      }
26  
27      public boolean isSingleton()
28      {
29          return true;
30      }
31  
32  }