1
2
3
4
5
6
7
8
9
10
11 package org.mule.impl.model.seda.optimised;
12
13 import org.mule.impl.MuleDescriptor;
14 import org.mule.impl.model.seda.SedaComponent;
15 import org.mule.umo.lifecycle.InitialisationException;
16 import org.mule.util.ObjectPool;
17
18
19
20
21
22 public class OptimisedSedaComponent extends SedaComponent
23 {
24
25
26
27 private static final long serialVersionUID = 4710126404530397113L;
28
29
30
31
32 public OptimisedSedaComponent(MuleDescriptor descriptor, OptimisedSedaModel model)
33 {
34 super(descriptor, model);
35 }
36
37
38 protected ObjectPool createPool() throws InitialisationException
39 {
40 return this.getPoolingProfile().getPoolFactory().createPool(descriptor, model,
41 new OptimisedProxyFactory(descriptor, model), getPoolingProfile());
42 }
43 }