Author: chris.laprun(a)jboss.com
Date: 2007-03-04 01:09:39 -0500 (Sun, 04 Mar 2007)
New Revision: 6526
Modified:
trunk/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPDeploymentFactory.java
Log:
- No need to create a new EndpointConfigurationInfo, just reuse the one from
ProducerInfo.
Modified: trunk/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPDeploymentFactory.java
===================================================================
---
trunk/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPDeploymentFactory.java 2007-03-04
02:21:15 UTC (rev 6525)
+++
trunk/wsrp/src/main/org/jboss/portal/wsrp/deployment/WSRPDeploymentFactory.java 2007-03-04
06:09:39 UTC (rev 6526)
@@ -147,7 +147,7 @@
if ("endpoint-config".equals(localName) ||
"endpoint-wsdl-url".equals(localName))
{
- return new EndpointConfigurationInfo(prodInfo);
+ return prodInfo.getEndpointConfigurationInfo();
}
else if ("registration-data".equals(localName))
{