1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.module.cxf.config; |
12 | |
|
13 | |
import org.mule.module.cxf.CxfOutboundMessageProcessor; |
14 | |
import org.mule.module.cxf.builder.SimpleClientMessageProcessorBuilder; |
15 | |
|
16 | |
import org.springframework.beans.factory.FactoryBean; |
17 | |
|
18 | 0 | public class SimpleClientFactoryBean extends SimpleClientMessageProcessorBuilder implements FactoryBean |
19 | |
{ |
20 | |
|
21 | |
public Object getObject() throws Exception |
22 | |
{ |
23 | 0 | return build(); |
24 | |
} |
25 | |
|
26 | |
public Class<?> getObjectType() |
27 | |
{ |
28 | 0 | return CxfOutboundMessageProcessor.class; |
29 | |
} |
30 | |
|
31 | |
public boolean isSingleton() |
32 | |
{ |
33 | 0 | return true; |
34 | |
} |
35 | |
|
36 | |
} |