[jboss-cvs] jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/services ...

Chris Laprun chris.laprun at jboss.com
Tue Aug 22 16:10:36 EDT 2006


  User: claprun 
  Date: 06/08/22 16:10:36

  Modified:    wsrp/src/main/org/jboss/portal/wsrp/services   Tag:
                        JBoss_Portal_Branch_2_4
                        SOAPInvokerServiceFactory.java
                        PerEndpointSOAPInvokerServiceFactory.java
  Log:
  Use the proper property name to retrieve the endpoint address.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +2 -5      jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/services/SOAPInvokerServiceFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SOAPInvokerServiceFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/services/SOAPInvokerServiceFactory.java,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -b -r1.5 -r1.5.2.1
  --- SOAPInvokerServiceFactory.java	8 Aug 2006 04:31:50 -0000	1.5
  +++ SOAPInvokerServiceFactory.java	22 Aug 2006 20:10:36 -0000	1.5.2.1
  @@ -35,16 +35,13 @@
   /**
    * @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.5 $
  + * @version $Revision: 1.5.2.1 $
    * @since 2.4
    */
   public class SOAPInvokerServiceFactory extends AbstractSOAPServiceFactory
   {
   
      /** . */
  -   private static final String ENDPOINT_ADDRESS_PROP = "javax.xml.rpc.service.endpoint.address";
  -
  -   /** . */
      private static final Map PORT_NAMES = new HashMap();
   
      static
  @@ -79,7 +76,7 @@
         {
            String portAddress = endpointURL + PORT_NAMES.get(serviceClass);
            log.debug("Setting the end point to: " + portAddress);
  -         ((Stub)stub)._setProperty(ENDPOINT_ADDRESS_PROP, portAddress);
  +         ((Stub)stub)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, portAddress);
         }
         return stub;
      }
  
  
  
  1.6.2.1   +3 -8      jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/services/PerEndpointSOAPInvokerServiceFactory.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: PerEndpointSOAPInvokerServiceFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/services/PerEndpointSOAPInvokerServiceFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -b -r1.6 -r1.6.2.1
  --- PerEndpointSOAPInvokerServiceFactory.java	10 Jul 2006 10:26:51 -0000	1.6
  +++ PerEndpointSOAPInvokerServiceFactory.java	22 Aug 2006 20:10:36 -0000	1.6.2.1
  @@ -32,16 +32,13 @@
   /**
    * @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.6.2.1 $
    * @since 2.4
    */
   public class PerEndpointSOAPInvokerServiceFactory extends AbstractSOAPServiceFactory
   {
   
      /** . */
  -   private static final String ENDPOINT_ADDRESS_PROP = "javax.xml.rpc.service.endpoint.address";
  -
  -   /** . */
      protected String serviceDescriptionURL;
   
      /** . */
  @@ -93,9 +90,7 @@
         this.portletManagementURL = portletManagementURL;
      }
   
  -   /**
  -    * If retrieve object is of javax.xml.rpc.Service class, we're using the WS stack and we need to get the port.
  -    */
  +   /** If retrieve object is of javax.xml.rpc.Service class, we're using the WS stack and we need to get the port. */
      protected Object getStubFromService(Class serviceClass, Service service) throws Exception
      {
         log.debug("Unwrapping service " + service + " for class " + serviceClass);
  @@ -124,7 +119,7 @@
         if (portAddress != null)
         {
            log.debug("Setting the end point to: " + portAddress);
  -         ((Stub)stub)._setProperty(PerEndpointSOAPInvokerServiceFactory.ENDPOINT_ADDRESS_PROP, portAddress);
  +         ((Stub)stub)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, portAddress);
         }
         else
         {
  
  
  



More information about the jboss-cvs-commits mailing list