1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
package org.mule.component; |
12 | |
|
13 | |
import org.mule.api.MuleContext; |
14 | |
import org.mule.api.MuleException; |
15 | |
import org.mule.api.component.JavaComponent; |
16 | |
import org.mule.api.construct.FlowConstruct; |
17 | |
import org.mule.api.lifecycle.InitialisationException; |
18 | |
import org.mule.api.model.EntryPointResolverSet; |
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public class NullLifecycleAdapter extends DefaultComponentLifecycleAdapter |
27 | |
{ |
28 | |
|
29 | |
public NullLifecycleAdapter(Object componentObject, |
30 | |
JavaComponent component, |
31 | |
FlowConstruct flowConstruct, |
32 | |
EntryPointResolverSet entryPointResolver, |
33 | |
MuleContext muleContext) throws MuleException |
34 | |
{ |
35 | 0 | super(componentObject, component, flowConstruct, entryPointResolver, muleContext); |
36 | 0 | } |
37 | |
|
38 | |
@Override |
39 | |
public void start() throws MuleException |
40 | |
{ |
41 | |
|
42 | 0 | } |
43 | |
|
44 | |
@Override |
45 | |
public void stop() throws MuleException |
46 | |
{ |
47 | |
|
48 | 0 | } |
49 | |
|
50 | |
@Override |
51 | |
public void dispose() |
52 | |
{ |
53 | |
|
54 | 0 | } |
55 | |
|
56 | |
@Override |
57 | |
public boolean isStarted() |
58 | |
{ |
59 | 0 | return true; |
60 | |
} |
61 | |
|
62 | |
@Override |
63 | |
public boolean isDisposed() |
64 | |
{ |
65 | 0 | return false; |
66 | |
} |
67 | |
|
68 | |
@Override |
69 | |
public void initialise() throws InitialisationException |
70 | |
{ |
71 | |
|
72 | 0 | } |
73 | |
|
74 | |
} |