1 17 package org.apache.servicemix.jms; 18 19 import javax.jbi.servicedesc.ServiceEndpoint; 20 21 import org.apache.servicemix.common.BaseComponent; 22 import org.apache.servicemix.common.BaseLifeCycle; 23 import org.apache.servicemix.common.BaseServiceUnitManager; 24 import org.apache.servicemix.common.Deployer; 25 import org.w3c.dom.DocumentFragment ; 26 27 public class JmsComponent extends BaseComponent { 28 29 32 protected BaseLifeCycle createLifeCycle() { 33 return new JmsLifeCycle(this); 34 } 35 36 39 public BaseServiceUnitManager createServiceUnitManager() { 40 Deployer[] deployers = new Deployer[] { new JmsXBeanDeployer(this), new JmsWsdl1Deployer(this) }; 41 return new BaseServiceUnitManager(this, deployers); 42 } 43 44 47 public ServiceEndpoint resolveEndpointReference(DocumentFragment epr) { 48 return JmsResolvedEndpoint.resolveEndpoint(epr); 49 } 50 51 } 52 | Popular Tags |