TcpipComponent.java :  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » runtime » component » tcpip » Java Open Source

Java Open Source » ESB » cbesb 1.2 
cbesb 1.2 » com » bostechcorp » cbesb » runtime » component » tcpip » TcpipComponent.java
/*
 * ChainBuilder ESB Visual Enterprise Integration
 * 
 * Copyright (C) 2006 Bostech Corporation
 * 
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 * 
 * 
 * $Id: TcpipComponent.java 7376 2007-05-15 05:24:22Z lzheng $
 */
package com.bostechcorp.cbesb.runtime.component.tcpip;

import javax.jbi.servicedesc.ServiceEndpoint;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.dom.DocumentFragment;

import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbExtendedComponent;
import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbServiceUnitManager;
import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.IDeployer;

public class TcpipComponent extends CbExtendedComponent {

  protected final transient Log logger = LogFactory.getLog(getClass());
  
  /*
   * (non-Javadoc)
   * 
   * @see org.apache.servicemix.common.BaseComponent#createServiceUnitManager()
   */
  public CbServiceUnitManager createServiceUnitManager() {
    IDeployer[] deployers = new IDeployer[] { new TcpipWsdl1Deployer(this) };
    return new CbServiceUnitManager(this, deployers);
  }

  /*
   * (non-Javadoc)
   * 
   * @see javax.jbi.component.Component#resolveEndpointReference(org.w3c.dom.DocumentFragment)
   */
  public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) {
    return null;
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.