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