1 package org.jbpm.bpel.service.soap; 2 3 import javax.xml.namespace.QName ; 4 5 6 import org.jbpm.bpel.service.exe.ServiceReference; 7 import org.jbpm.bpel.service.spi.EndpointReference; 8 import org.jbpm.bpel.service.spi.EndpointReferenceFactory; 9 10 14 public class AddressingEndpointFactory extends EndpointReferenceFactory { 15 16 17 public boolean acceptsReference(QName endpointRefName, String refScheme) { 18 return (refScheme == null || refScheme.equals("") || refScheme.equals(AddressingConstants.NS_ADDRESSING)) 19 && endpointRefName.getNamespaceURI().equals(AddressingConstants.NS_ADDRESSING) 20 && endpointRefName.getLocalPart().equals(AddressingConstants.ELEM_ENDPOINT_REFERENCE); 21 } 22 23 24 public EndpointReference createEndpoint(ServiceReference serviceRef) { 25 return null; 27 } 28 } 29 | Popular Tags |