01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17: package org.bpmscript.jbi.tasklist;
18:
19: import org.apache.servicemix.common.BaseComponent;
20: import org.apache.servicemix.common.BaseLifeCycle;
21:
22: /**
23: *
24: */
25: public class TaskListSpringComponent extends BaseComponent {
26:
27: /* (non-Javadoc)
28: * @see org.servicemix.common.BaseComponent#createLifeCycle()
29: */
30: protected BaseLifeCycle createLifeCycle() {
31: return new LifeCycle();
32: }
33:
34: public void setConfiguration(TaskListConfiguration configuration) {
35: getTaskListLifeCycle().setConfiguration(configuration);
36: }
37:
38: public TaskListLifeCycle getTaskListLifeCycle() {
39: return (TaskListLifeCycle) getLifeCycle();
40: }
41:
42: /**
43: * @author gnodet
44: */
45: public class LifeCycle extends TaskListLifeCycle {
46:
47: public LifeCycle() {
48: super (TaskListSpringComponent.this );
49: }
50:
51: /* (non-Javadoc)
52: * @see org.servicemix.common.BaseLifeCycle#doInit()
53: */
54: protected void doInit() throws Exception {
55: super .doInit();
56: }
57:
58: /* (non-Javadoc)
59: * @see org.servicemix.common.BaseLifeCycle#doStart()
60: */
61: protected void doStart() throws Exception {
62: super .doStart();
63: }
64:
65: /* (non-Javadoc)
66: * @see org.servicemix.common.BaseLifeCycle#doStop()
67: */
68: protected void doStop() throws Exception {
69: super .doStop();
70: }
71:
72: /* (non-Javadoc)
73: * @see org.servicemix.common.BaseLifeCycle#doShutDown()
74: */
75: protected void doShutDown() throws Exception {
76: super.doShutDown();
77: }
78: }
79:
80: }
|