1 17 package org.apache.geronimo.j2ee.deployment; 18 19 import java.net.URI ; 20 import java.util.Map ; 21 import java.util.List ; 22 import java.util.Set ; 23 import javax.naming.Reference ; 24 import javax.xml.namespace.QName ; 25 26 import org.apache.geronimo.common.DeploymentException; 27 import org.apache.geronimo.deployment.DeploymentContext; 28 import org.apache.geronimo.xbeans.j2ee.ServiceRefHandlerType; 29 30 33 public interface ServiceReferenceBuilder { 34 35 Object createService(Class serviceInterface, URI wsdlURI, URI jaxrpcMappingURI, QName serviceQName, Map portComponentRefMap, List handlerInfos, Map portLocationMap, Map credentialsNameMap, DeploymentContext deploymentContext, Module module, ClassLoader classLoader) throws DeploymentException; 37 38 40 public class HandlerInfoInfo { 41 private final Set portNames; 42 private final Class handlerClass; 43 private final Map handlerConfig; 44 private final QName [] soapHeaders; 45 private final Set soapRoles; 46 47 public HandlerInfoInfo(Set portNames, Class handlerClass, Map handlerConfig, QName [] soapHeaders, Set soapRoles) { 48 this.portNames = portNames; 49 this.handlerClass = handlerClass; 50 this.handlerConfig = handlerConfig; 51 this.soapHeaders = soapHeaders; 52 this.soapRoles = soapRoles; 53 } 54 55 public Set getPortNames() { 56 return portNames; 57 } 58 59 public Class getHandlerClass() { 60 return handlerClass; 61 } 62 63 public Map getHandlerConfig() { 64 return handlerConfig; 65 } 66 67 public QName [] getSoapHeaders() { 68 return soapHeaders; 69 } 70 71 public Set getSoapRoles() { 72 return soapRoles; 73 } 74 } 75 } 76 | Popular Tags |