@Deprecated /** * It will be removed in Camel 3.0 * * @param comp * @param bean */ public CxfRsSpringEndpoint(Component component, AbstractJAXRSFactoryBean bean) throws Exception { super(bean.getAddress(), component); init(bean); }
@Deprecated /** * It will be removed in Camel 3.0 * @param comp * @param bean */ public CxfRsBlueprintEndpoint(Component comp, AbstractJAXRSFactoryBean bean) { super(bean.getAddress(), comp); this.bean = bean; BlueprintSupport support = (BlueprintSupport)bean; setBlueprintContainer(support.getBlueprintContainer()); setBundleContext(support.getBundleContext()); }
public CxfRsSpringEndpoint(Component component, String uri, AbstractJAXRSFactoryBean bean) throws Exception { super(uri, component); setAddress(bean.getAddress()); // Update the sfb address by resolving the properties bean.setAddress(getAddress()); init(bean); }
public CxfRsBlueprintEndpoint(Component comp, String uri, AbstractJAXRSFactoryBean bean) { super(uri, comp); this.bean = bean; setAddress(bean.getAddress()); // update the sfb address by resolving the properties bean.setAddress(getAddress()); BlueprintSupport support = (BlueprintSupport)bean; setBlueprintContainer(support.getBlueprintContainer()); setBundleContext(support.getBundleContext()); }
protected EndpointInfo createEndpointInfo(Service service) throws BusException { String transportId = getTransportId(); if (transportId == null && getAddress() != null) { DestinationFactory df = getDestinationFactory(); if (df == null) { DestinationFactoryManager dfm = getBus().getExtension(DestinationFactoryManager.class); df = dfm.getDestinationFactoryForUri(getAddress()); super.setDestinationFactory(df); ei.setTransportId(transportId); ei.setName(serviceFactory.getService().getName()); ei.setAddress(getAddress());
protected EndpointInfo createEndpointInfo(Service service) throws BusException { String transportId = getTransportId(); if (transportId == null && getAddress() != null) { DestinationFactory df = getDestinationFactory(); if (df == null) { DestinationFactoryManager dfm = getBus().getExtension(DestinationFactoryManager.class); df = dfm.getDestinationFactoryForUri(getAddress()); super.setDestinationFactory(df); ei.setTransportId(transportId); ei.setName(serviceFactory.getService().getName()); ei.setAddress(getAddress());