Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » webservices » [javadoc | source]
    1   /**
    2    *
    3    * Licensed to the Apache Software Foundation (ASF) under one or more
    4    * contributor license agreements.  See the NOTICE file distributed with
    5    * this work for additional information regarding copyright ownership.
    6    * The ASF licenses this file to You under the Apache License, Version 2.0
    7    * (the "License"); you may not use this file except in compliance with
    8    * the License.  You may obtain a copy of the License at
    9    *
   10    *     http://www.apache.org/licenses/LICENSE-2.0
   11    *
   12    *  Unless required by applicable law or agreed to in writing, software
   13    *  distributed under the License is distributed on an "AS IS" BASIS,
   14    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   15    *  See the License for the specific language governing permissions and
   16    *  limitations under the License.
   17    */
   18   package org.apache.openejb.core.webservices;
   19   
   20   import org.apache.openejb.Injection;
   21   
   22   import javax.xml.namespace.QName;
   23   import javax.xml.ws.handler.PortInfo;
   24   import java.util.List;
   25   import java.util.ArrayList;
   26   import java.util.Properties;
   27   import java.net.URL;
   28   
   29   public class PortData implements PortInfo {
   30       private String portId;
   31       private QName serviceName;
   32       private QName portName;
   33       private String bindingId;
   34   
   35       private URL wsdlUrl;
   36       private final List<HandlerChainData> handlerChains = new ArrayList<HandlerChainData>();
   37       private final List<Injection> injections = new ArrayList<Injection>();
   38       private boolean mtomEnabled;
   39       private QName wsdlPort;
   40       private QName wsdlService;
   41       private String location;
   42       private boolean secure;
   43       private Properties securityProperties;
   44   
   45       public String getPortId() {
   46           return portId;
   47       }
   48   
   49       public void setPortId(String portId) {
   50           this.portId = portId;
   51       }
   52   
   53       public QName getServiceName() {
   54           return serviceName;
   55       }
   56   
   57       public void setServiceName(QName serviceName) {
   58           this.serviceName = serviceName;
   59       }
   60   
   61       public QName getPortName() {
   62           return portName;
   63       }
   64   
   65       public void setPortName(QName portName) {
   66           this.portName = portName;
   67       }
   68   
   69       public String getBindingID() {
   70           return bindingId;
   71       }
   72   
   73       public void setBindingID(String bindingId) {
   74           this.bindingId = bindingId;
   75       }
   76   
   77       public URL getWsdlUrl() {
   78           return wsdlUrl;
   79       }
   80   
   81       public void setWsdlUrl(URL wsdlUrl) {
   82           this.wsdlUrl = wsdlUrl;
   83       }
   84   
   85       public List<HandlerChainData> getHandlerChains() {
   86           return handlerChains;
   87       }
   88   
   89       public List<Injection> getInjections() {
   90           return injections;
   91       }
   92   
   93       public boolean isMtomEnabled() {
   94           return mtomEnabled;
   95       }
   96   
   97       public void setMtomEnabled(boolean mtomEnabled) {
   98           this.mtomEnabled = mtomEnabled;
   99       }
  100   
  101       public QName getWsdlPort() {
  102           return wsdlPort;
  103       }
  104   
  105       public void setWsdlPort(QName wsdlPort) {
  106           this.wsdlPort = wsdlPort;
  107       }
  108   
  109       public QName getWsdlService() {
  110           return wsdlService;
  111       }
  112   
  113       public void setWsdlService(QName wsdlService) {
  114           this.wsdlService = wsdlService;
  115       }
  116   
  117       public String getLocation() {
  118           return location;
  119       }
  120   
  121       public void setLocation(String location) {
  122           this.location = location;
  123       }
  124   
  125       public void setSecure(boolean secure) {
  126           this.secure = secure;
  127       }
  128   
  129       public boolean isSecure() {
  130           return secure;
  131       }
  132   
  133       public Properties getSecurityProperties() {
  134           return securityProperties;
  135       }
  136   
  137       public void setSecurityProperties(Properties securityProperties) {
  138           this.securityProperties = securityProperties;
  139       }
  140       
  141       
  142   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » webservices » [javadoc | source]