01: package com.bostech.corporation.component.echo;
02:
03: import javax.jbi.servicedesc.ServiceEndpoint;
04:
05: import org.apache.commons.logging.Log;
06: import org.apache.commons.logging.LogFactory;
07: import org.w3c.dom.DocumentFragment;
08:
09: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbExtendedComponent;
10: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.CbServiceUnitManager;
11: import com.bostechcorp.cbesb.runtime.ccsl.jbi.messaging.IDeployer;
12:
13: public class EchoComponent extends CbExtendedComponent {
14: protected final transient Log logger = LogFactory
15: .getLog(getClass());
16:
17: /* (non-Javadoc)
18: * @see org.apache.servicemix.common.BaseComponent#createLifeCycle()
19: */
20:
21: /* (non-Javadoc)
22: * @see org.apache.servicemix.common.BaseComponent#createServiceUnitManager()
23: */
24: public CbServiceUnitManager createServiceUnitManager() {
25: IDeployer[] deployers = new IDeployer[] { new EchoWsdl1Deployer(
26: this ) };
27: return new CbServiceUnitManager(this , deployers);
28: }
29:
30: /* (non-Javadoc)
31: * @see javax.jbi.component.Component#resolveEndpointReference(org.w3c.dom.DocumentFragment)
32: */
33: public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) {
34:
35: return null;
36: }
37:
38: }
|