1 /*******************************************************************************
2 * Copyright (c) 2005, 2006 Imola Informatica.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the LGPL License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/lgpl.html
7 *******************************************************************************/
8 package it.imolinfo.jbi4cics.jbi;
9
10 import org.apache.servicemix.common.BaseComponent;
11 import org.apache.servicemix.common.BaseLifeCycle;
12 import org.apache.servicemix.common.BaseServiceUnitManager;
13 import org.apache.servicemix.common.Deployer;
14
15 public class Jbi4cicsComponent extends BaseComponent {
16
17 /**
18 * void constructor.
19 */
20 public Jbi4cicsComponent(){
21 super();
22 }
23
24 /* (non-Javadoc)
25 * @see org.servicemix.common.BaseComponent#createLifeCycle()
26 */
27 protected BaseLifeCycle createLifeCycle() {
28 return new Jbi4cicsLifeCycle(this);
29 }
30
31 /* (non-Javadoc)
32 * @see org.servicemix.common.BaseComponent#createServiceUnitManager()
33 */
34 public BaseServiceUnitManager createServiceUnitManager() {
35 Deployer[] deployers = new Deployer[] { new Jbi4cicsDeployer(this), new Jbi4cicsWSDLDeployer(this) };
36 return new BaseServiceUnitManager(this, deployers);
37 }
38 }