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