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: TcpipComponent.java 7376 2007-05-15 05:24:22Z lzheng $
22: */
23: package com.bostechcorp.cbesb.runtime.component.tcpip;
24:
25: import javax.jbi.servicedesc.ServiceEndpoint;
26:
27: import org.apache.commons.logging.Log;
28: import org.apache.commons.logging.LogFactory;
29: import org.w3c.dom.DocumentFragment;
30:
31: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbExtendedComponent;
32: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbServiceUnitManager;
33: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.IDeployer;
34:
35: public class TcpipComponent extends CbExtendedComponent {
36:
37: protected final transient Log logger = LogFactory
38: .getLog(getClass());
39:
40: /*
41: * (non-Javadoc)
42: *
43: * @see org.apache.servicemix.common.BaseComponent#createServiceUnitManager()
44: */
45: public CbServiceUnitManager createServiceUnitManager() {
46: IDeployer[] deployers = new IDeployer[] { new TcpipWsdl1Deployer(
47: this ) };
48: return new CbServiceUnitManager(this , deployers);
49: }
50:
51: /*
52: * (non-Javadoc)
53: *
54: * @see javax.jbi.component.Component#resolveEndpointReference(org.w3c.dom.DocumentFragment)
55: */
56: public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) {
57: return null;
58: }
59: }
|