[jboss-svn-commits] JBoss Common SVN: r2603 - jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Oct 5 09:40:47 EDT 2007


Author: scott.stark at jboss.org
Date: 2007-10-05 09:40:46 -0400 (Fri, 05 Oct 2007)
New Revision: 2603

Added:
   jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec/PortComponent.java
Log:
The webservice port-component type

Added: jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec/PortComponent.java
===================================================================
--- jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec/PortComponent.java	                        (rev 0)
+++ jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec/PortComponent.java	2007-10-05 13:40:46 UTC (rev 2603)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.javaee.metadata.spec;
+
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlTransient;
+import javax.xml.bind.annotation.XmlType;
+
+import org.jboss.javaee.metadata.support.IdMetaDataImpl;
+
+/**
+ * The webservice port-component information.
+ * 
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+ at XmlType(name="port-componentType")
+public class PortComponent extends IdMetaDataImpl
+{
+   private static final long serialVersionUID = 1;
+
+   private String portComponentName;
+   private String portComponentURI;
+   private String authMethod;
+   private String transportGuarantee;
+   private boolean secureWSDLAccess;
+
+   public PortComponent()
+   {
+   }
+
+   public String getPortComponentName()
+   {
+      return portComponentName;
+   }
+
+   public void setPortComponentName(String portComponentName)
+   {
+      this.portComponentName = portComponentName;
+   }
+
+   public String getPortComponentURI()
+   {
+      return portComponentURI;
+   }
+
+   @XmlElement(name="port-component-uri")
+   public void setPortComponentURI(String portComponentURI)
+   {
+      this.portComponentURI = portComponentURI;
+   }
+
+   @XmlTransient
+   public String getURLPattern()
+   {
+      String pattern = "/*";
+      if (portComponentURI != null)
+         pattern = portComponentURI;
+
+      return pattern;
+   }
+
+   public String getAuthMethod()
+   {
+      return authMethod;
+   }
+
+   public void setAuthMethod(String authMethod)
+   {
+      this.authMethod = authMethod;
+   }
+
+   public String getTransportGuarantee()
+   {
+      return transportGuarantee;
+   }
+
+   public void setTransportGuarantee(String transportGuarantee)
+   {
+      this.transportGuarantee = transportGuarantee;
+   }
+
+   public boolean getSecureWSDLAccess()
+   {
+      return secureWSDLAccess;
+   }
+
+   @XmlElement(name="secure-wsdl-access")
+   public void setSecureWSDLAccess(boolean secureWSDLAccess)
+   {
+      this.secureWSDLAccess = secureWSDLAccess;
+   }
+}


Property changes on: jbossxb/trunk/src/test/java/org/jboss/javaee/metadata/spec/PortComponent.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the jboss-svn-commits mailing list