Author: asoldano
Date: 2015-03-09 13:40:15 -0400 (Mon, 09 Mar 2015)
New Revision: 19544
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/PortComponentMetaData.java
Log:
Removing deprecated stuff
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/PortComponentMetaData.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/PortComponentMetaData.java 2015-03-09
17:39:49 UTC (rev 19543)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/metadata/webservices/PortComponentMetaData.java 2015-03-09
17:40:15 UTC (rev 19544)
@@ -53,7 +53,7 @@
*/
private final String portComponentName;
// The required <wsdl-port> element
- private volatile QName wsdlPort;
+ private final QName wsdlPort;
// The required <service-endpoint-interface> element
private final String serviceEndpointInterface;
// The required <ejb-link> or <servlet-link> in the
<service-impl-bean> element
@@ -100,11 +100,9 @@
UnifiedHandlerChainsMetaData handlerChains)
{
this.portComponentName = portComponentName;
- if (wsdlPort != null) {
- if (wsdlPort.getNamespaceURI().length() == 0)
-
Loggers.METADATA_LOGGER.webservicesXmlElementNotNamespaceQualified(wsdlPort);
- this.wsdlPort = wsdlPort;
- }
+ if (wsdlPort != null && wsdlPort.getNamespaceURI().length() == 0)
+ Loggers.METADATA_LOGGER.webservicesXmlElementNotNamespaceQualified(wsdlPort);
+ this.wsdlPort = wsdlPort;
this.serviceEndpointInterface = serviceEndpointInterface;
this.ejbLink = ejbLink;
this.servletLink = servletLink;
@@ -155,16 +153,6 @@
return wsdlPort;
}
- /**
- * set the wsdlPort for this PortComponentMetaData. This is deprecated, the proper
wsdlPort
- * should be provided when creating a new instance.
- */
- @Deprecated
- public void setWsdlPort(QName wsdlPort)
- {
- this.wsdlPort = wsdlPort;
- }
-
public String getEjbLink()
{
return ejbLink;
@@ -238,7 +226,6 @@
public String serialize()
{
- final QName wsdlPort = getWsdlPort();
StringBuilder builder = new StringBuilder("<port-component>");
builder.append("<port-component-name>").append(portComponentName).append("</port-component-name>");
if (wsdlPort != null) {