1
2
3
4
5
6
7
8
9
10
11
12
13 package it.imolinfo.jbi4corba.jbi.component.runtime;
14
15 import javax.jbi.JBIException;
16 import javax.management.ObjectName;
17 import javax.management.StandardMBean;
18
19
20
21
22
23
24 public class DefaultComponentLifeCycle extends AbstractComponentLifeCycle {
25
26 public DefaultComponentLifeCycle(ComponentRuntime compRuntime) {
27 super(compRuntime);
28 }
29
30 protected void activateServiceProviders() throws JBIException {
31
32 }
33
34 protected void deactivateServiceProviders() throws JBIException {
35
36 }
37
38 protected void activateServiceConsumers() throws JBIException {
39
40 }
41
42 protected void deactivateServiceConsumers() throws JBIException {
43
44 }
45
46 protected void initMessageExchangeHandlerFactory() throws JBIException {
47 RuntimeContext.getInstance().setMessageExchangeHandlerFactory(
48 new MessageExchangeHandlerFactory.DefaultMessageExchangeHandlerFactory());
49 }
50
51 protected MessageExchangeReceiver createMessageExchangeReceiver() throws Exception {
52 return new MessageExchangeReceiver();
53 }
54
55
56
57
58 protected ObjectName createExtensionMBeanName() {
59 return null;
60 }
61
62
63
64
65 protected StandardMBean createExtensionMBean() {
66 return null;
67 }
68
69 }