01: /*
02: * ChainBuilder ESB Visual Enterprise Integration
03: *
04: * Copyright (C) 2006 Bostech Corporation
05: *
06: * This program is free software; you can redistribute it and/or modify it under
07: * the terms of the GNU General Public License as published by the Free Software
08: * Foundation; either version 2 of the License, or (at your option) any later
09: * version.
10: *
11: * This program is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13: * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14: * details.
15: *
16: * You should have received a copy of the GNU General Public License along with
17: * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18: * Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: *
21: * $Id: JMSComponent.java 1206 2006-09-23 03:51:32Z fling $
22: */
23: package com.bostechcorp.cbesb.runtime.component.jms;
24:
25: import javax.jbi.servicedesc.ServiceEndpoint;
26:
27: import org.apache.commons.logging.Log;
28: import org.apache.commons.logging.LogFactory;
29:
30: //import org.apache.servicemix.common.BaseComponent;
31: //import org.apache.servicemix.common.BaseLifeCycle;
32: //import org.apache.servicemix.common.BaseServiceUnitManager;
33: //import org.apache.servicemix.common.Deployer;
34:
35: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.*;
36:
37: import org.w3c.dom.DocumentFragment;
38:
39: public class JMSComponent extends CbExtendedComponent {
40:
41: protected final transient Log logger = LogFactory
42: .getLog(getClass());
43:
44: /*
45: * (non-Javadoc)
46: *
47: * @see org.apache.servicemix.common.BaseComponent#createLifeCycle()
48: */
49: // protected BaseLifeCycle createLifeCycle() {
50: // return new JMSLifeCycle(this);
51: // }
52: /*
53: * (non-Javadoc)
54: *
55: * @see org.apache.servicemix.common.BaseComponent#createServiceUnitManager()
56: */
57: public CbServiceUnitManager createServiceUnitManager() {
58: IDeployer[] deployers = new CbDeployer[] { new JMSWsdl1Deployer(
59: this ) };
60: return new CbServiceUnitManager(this , deployers);
61: }
62:
63: /*
64: * (non-Javadoc)
65: *
66: * @see javax.jbi.component.Component#resolveEndpointReference(org.w3c.dom.DocumentFragment)
67: */
68: public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) {
69: return null;
70: }
71: }
|