ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r326958 [4/9] - in /webservices/wsrf/trunk/src: examples/filesystem/ examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/ java/org/apache/ws/addressing/ java/org/apache/ws/addressing/handler/ java/org/apache/ws/addressing...
Date Thu, 20 Oct 2005 17:51:37 GMT
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceDefinitionImpl.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.impl;
 
-import java.net.URL;
-import java.util.List;
-
+import org.apache.ws.resource.InvalidWsrfWsdlException;
+import org.apache.ws.resource.ResourceDefinition;
 import javax.wsdl.Binding;
 import javax.wsdl.Definition;
 import javax.wsdl.Port;
@@ -25,9 +24,8 @@
 import javax.wsdl.extensions.ExtensibilityElement;
 import javax.wsdl.extensions.soap.SOAPAddress;
 import javax.xml.namespace.QName;
-
-import org.apache.ws.resource.InvalidWsrfWsdlException;
-import org.apache.ws.resource.ResourceDefinition;
+import java.net.URL;
+import java.util.List;
 
 /**
  * A {@link ResourceDefinition} implementation.
@@ -41,30 +39,31 @@
    private Port   m_port;
    private String m_name;
    private String m_endpointURL;
-    private QName m_wsdlServiceName;
+   private QName  m_wsdlServiceName;
 
-    /**
-     * Creates a new {@link ResourceDefinitionImpl} object.
-     *
-     * @param def DOCUMENT_ME
-     * @param qName
-     * @param port DOCUMENT_ME
-     * @param baseUrl DOCUMENT_ME
-     *
-     * @throws InvalidWsrfWsdlException DOCUMENT_ME
-     */
-    public ResourceDefinitionImpl(Definition def,
-                                  QName wsdlServiceName, javax.wsdl.Port port,
-                                  URL baseUrl)
-    throws InvalidWsrfWsdlException
-    {
-       super( def,
-              getResourcePortType( port ), baseUrl );
-       m_port           = port;
-       m_wsdlServiceName = wsdlServiceName;
-       m_name           = port.getName(  );
-       m_endpointURL    = extractEndpointURL( m_port );
-    }
+   /**
+    * Creates a new {@link ResourceDefinitionImpl} object.
+    *
+    * @param def DOCUMENT_ME
+    * @param qName
+    * @param port DOCUMENT_ME
+    * @param baseUrl DOCUMENT_ME
+    *
+    * @throws InvalidWsrfWsdlException DOCUMENT_ME
+    */
+   public ResourceDefinitionImpl( Definition      def,
+                                  QName           wsdlServiceName,
+                                  javax.wsdl.Port port,
+                                  URL             baseUrl )
+   throws InvalidWsrfWsdlException
+   {
+      super( def,
+             getResourcePortType( port ), baseUrl );
+      m_port               = port;
+      m_wsdlServiceName    = wsdlServiceName;
+      m_name               = port.getName(  );
+      m_endpointURL        = extractEndpointURL( m_port );
+   }
 
    /**
     * DOCUMENT_ME
@@ -96,6 +95,16 @@
       return m_port;
    }
 
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public QName getWsdlServiceName(  )
+   {
+      return m_wsdlServiceName;
+   }
+
    private static PortType getResourcePortType( Port port )
    throws InvalidWsrfWsdlException
    {
@@ -141,9 +150,4 @@
 
       return endpointURL;
    }
-
-    public QName getWsdlServiceName()
-    {
-        return m_wsdlServiceName;
-    }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceSweeper.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceSweeper.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceSweeper.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/impl/ResourceSweeper.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.impl;
 
-import java.util.Calendar;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.Map;
-
+import commonj.timers.Timer;
+import commonj.timers.TimerListener;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.Resource;
@@ -29,9 +26,10 @@
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
 import org.apache.ws.util.i18n.Messages;
-
-import commonj.timers.Timer;
-import commonj.timers.TimerListener;
+import java.util.Calendar;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.Map;
 
 /**
  * LOG-DONE

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/ScheduledResourceTerminationResource.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/ScheduledResourceTerminationResource.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/ScheduledResourceTerminationResource.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/ScheduledResourceTerminationResource.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime;
 
-import java.util.Calendar;
-
 import org.apache.ws.resource.Resource;
+import java.util.Calendar;
 
 /**
  * Interface that contains operations which expose the state associated with the wsrlw:ScheduledResourceTermination

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/callback/CurrentTimeCallback.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/callback/CurrentTimeCallback.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/callback/CurrentTimeCallback.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/callback/CurrentTimeCallback.java Thu Oct 20 10:50:00 2005
@@ -15,13 +15,12 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.callback;
 
-import java.util.Calendar;
-
 import org.apache.ws.resource.properties.ResourceProperty;
 import org.apache.ws.resource.properties.ResourcePropertyCallback;
 import org.apache.ws.resource.properties.XmlBeansResourcePropertyUtils;
 import org.apache.ws.resource.properties.impl.CallbackFailedException;
 import org.apache.ws.resource.properties.impl.XmlBeansResourceProperty;
+import java.util.Calendar;
 
 /**
  * A callback for the WSRF-RL CurrentTime property - assumes the property is implemented

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceNotDestroyedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.ResourceUnknownException;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * An Exception representing the WSRL-defined ResourceNotDestroyed fault,

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/ResourceUnknownFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.ResourceUnknownException;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE Indicates that the resource identified in the message is not known to the Web service.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/TerminationTimeChangeRejectedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/TerminationTimeChangeRejectedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/TerminationTimeChangeRejectedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/TerminationTimeChangeRejectedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.ResourceUnknownException;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE Indicates that a WS-Resource could not be destroyed for some reason.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/UnableToSetTerminationTimeFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/UnableToSetTerminationTimeFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/UnableToSetTerminationTimeFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/faults/UnableToSetTerminationTimeFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.ResourceUnknownException;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * An Exception representing the WSRL-defined UnableToSetTerminationTime fault,

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/AbstractResourceTerminationEvent.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/AbstractResourceTerminationEvent.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/AbstractResourceTerminationEvent.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/AbstractResourceTerminationEvent.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.impl;
 
-import java.util.Calendar;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.lifetime.ResourceTerminationEvent;
 import org.apache.xmlbeans.XmlObject;
+import java.util.Calendar;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/ResourceTerminationEventImpl.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/ResourceTerminationEventImpl.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/ResourceTerminationEventImpl.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/impl/ResourceTerminationEventImpl.java Thu Oct 20 10:50:00 2005
@@ -15,12 +15,11 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.impl;
 
-import java.util.Calendar;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.lifetime.ResourceTerminationEvent;
 import org.apache.xmlbeans.XmlObject;
 import org.apache.xmlbeans.XmlString;
+import java.util.Calendar;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/ResourceLifetimeConstants.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/ResourceLifetimeConstants.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/ResourceLifetimeConstants.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/ResourceLifetimeConstants.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_06;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.v2004_06.WsrfConstants;
+import javax.xml.namespace.QName;
 
 /**
  * Constants for namespaces defined by the 2004/06 version of the WSRF ResourceLifetime specification.
@@ -44,9 +43,9 @@
     */
    String NSPREFIX_WSRL_WSDL = "wsrlw";
 
-    /**
-     * The topic path for the ResourceTermination topic.
-     */
-    QName TOPIC_PATH_RESOURCE_TERMINATION = new QName( NSURI_WSRL_SCHEMA, "ResourceTermination", NSPREFIX_WSRL_SCHEMA );
-
+   /**
+    * The topic path for the ResourceTermination topic.
+    */
+   QName TOPIC_PATH_RESOURCE_TERMINATION =
+      new QName( NSURI_WSRL_SCHEMA, "ResourceTermination", NSPREFIX_WSRL_SCHEMA );
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ImmediateResourceTerminationPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ImmediateResourceTerminationPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ImmediateResourceTerminationPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ImmediateResourceTerminationPortType.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_06.porttype;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.lifetime.v2004_06.ResourceLifetimeConstants;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.DestroyDocument;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.DestroyResponseDocument;
+import javax.xml.namespace.QName;
 
 /**
  * The WSRF-RL ImmediateResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ScheduledResourceTerminationPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ScheduledResourceTerminationPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ScheduledResourceTerminationPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/ScheduledResourceTerminationPortType.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_06.porttype;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.lifetime.v2004_06.ResourceLifetimeConstants;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeDocument;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeResponseDocument;
+import javax.xml.namespace.QName;
 
 /**
  * The WSRF-RL ScheduledResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_06/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java Thu Oct 20 10:50:00 2005
@@ -15,8 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_06.porttype.impl;
 
-import java.util.Calendar;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.NamespaceVersionHolder;
@@ -32,6 +30,7 @@
 import org.apache.ws.util.i18n.Messages;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeDocument;
 import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceLifetime12Draft01.SetTerminationTimeResponseDocument;
+import java.util.Calendar;
 
 /**
  * LOG-DONE An implementation of the wsrlw:ScheduledResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/ResourceLifetimeConstants.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/ResourceLifetimeConstants.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/ResourceLifetimeConstants.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/ResourceLifetimeConstants.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_11;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.v2004_11.WsrfConstants;
+import javax.xml.namespace.QName;
 
 /**
  * Constants for namespaces defined by the 2004/11 version of the WSRF ResourceLifetime specification.
@@ -44,9 +43,9 @@
     */
    String NSPREFIX_WSRL_WSDL = "wsrf-rlw";
 
-    /**
-     * The topic path for the ResourceTermination topic.
-     */
-    QName TOPIC_PATH_RESOURCE_TERMINATION = new QName( NSURI_WSRL_SCHEMA, "ResourceTermination", NSPREFIX_WSRL_SCHEMA );
-    
+   /**
+    * The topic path for the ResourceTermination topic.
+    */
+   QName TOPIC_PATH_RESOURCE_TERMINATION =
+      new QName( NSURI_WSRL_SCHEMA, "ResourceTermination", NSPREFIX_WSRL_SCHEMA );
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ImmediateResourceTerminationPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ImmediateResourceTerminationPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ImmediateResourceTerminationPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ImmediateResourceTerminationPortType.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_11.porttype;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.lifetime.v2004_11.ResourceLifetimeConstants;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.DestroyDocument;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.DestroyResponseDocument;
+import javax.xml.namespace.QName;
 
 /**
  * The WSRF-RL ImmediateResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ScheduledResourceTerminationPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ScheduledResourceTerminationPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ScheduledResourceTerminationPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/ScheduledResourceTerminationPortType.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_11.porttype;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.lifetime.v2004_11.ResourceLifetimeConstants;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.SetTerminationTimeDocument;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.SetTerminationTimeResponseDocument;
+import javax.xml.namespace.QName;
 
 /**
  * The WSRF-RL ScheduledResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/lifetime/v2004_11/porttype/impl/ScheduledResourceTerminationPortTypeImpl.java Thu Oct 20 10:50:00 2005
@@ -15,8 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.lifetime.v2004_11.porttype.impl;
 
-import java.util.Calendar;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.NamespaceVersionHolder;
@@ -32,6 +30,7 @@
 import org.apache.ws.util.i18n.Messages;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.SetTerminationTimeDocument;
 import org.oasisOpen.docs.wsrf.x2004.x11.wsrfWSResourceLifetime12Draft04.SetTerminationTimeResponseDocument;
+import java.util.Calendar;
 
 /**
  * LOG-DONE An implementation of the wsrlw:ScheduledResourceTermination portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/MetadataExchangePortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/MetadataExchangePortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/MetadataExchangePortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/MetadataExchangePortType.java Thu Oct 20 10:50:00 2005
@@ -15,12 +15,11 @@
  *=============================================================================*/
 package org.apache.ws.resource.metadataexchange.v2004_09.porttype;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.metadataexchange.v2004_09.MetadataExchangeConstants;
 import org.xmlsoap.schemas.ws.x2004.x09.mex.AnyXmlType;
 import org.xmlsoap.schemas.ws.x2004.x09.mex.GetMetadataDocument;
 import org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataDocument;
+import javax.xml.namespace.QName;
 
 /**
  * The WS-MEX MetadataExchange portType.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/impl/MetadataExchangePortTypeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/impl/MetadataExchangePortTypeImpl.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/impl/MetadataExchangePortTypeImpl.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/metadataexchange/v2004_09/porttype/impl/MetadataExchangePortTypeImpl.java Thu Oct 20 10:50:00 2005
@@ -34,7 +34,6 @@
 import org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataDocument;
 import org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataReferenceDocument;
 import org.xmlsoap.schemas.ws.x2004.x09.mex.MetadataSectionDocument;
-
 import java.net.URI;
 import java.util.Iterator;
 import java.util.List;
@@ -45,135 +44,129 @@
  *
  * @author Sal Campana
  */
-public class MetadataExchangePortTypeImpl extends AbstractPortType implements
-        MetadataExchangePortType
+public class MetadataExchangePortTypeImpl
+   extends AbstractPortType
+   implements MetadataExchangePortType
 {
-    private static final NamespaceVersionHolder NAMESPACE_SET = new NamespaceVersionHolderImpl();
+   private static final NamespaceVersionHolder NAMESPACE_SET = new NamespaceVersionHolderImpl(  );
 
-    /**
-     * Creates a new {@link AbstractPortType} object.
-     *
-     * @param resourceContext
-     */
-    public MetadataExchangePortTypeImpl( ResourceContext resourceContext )
-    {
-        super( resourceContext );
-    }
-
-    /**
-     * WS-MetadataExchange GetMetadata operation.
-     *
-     * @param request
-     *
-     * @return MetadataDocument response document
-     */
-    public MetadataDocument getMetadata( GetMetadataDocument request )
-    {
-        MetadataConfiguration metadataConfig = getResourceContext().getResourceHome().getMetadataConfig();
-
-        // prep the response
-        MetadataDocument responseDoc = createMetadataResponseDoc();
-        MetadataDocument.Metadata responseMetadata = responseDoc
-                .addNewMetadata();
-
-        if ( metadataConfig != null )
-        {
-            // get the values from the request
-            GetMetadataDocument.GetMetadata requestMetadata = request
-                    .getGetMetadata();
-            String dialect = requestMetadata.getDialect();
-            String identifier = requestMetadata.getIdentifier();
-
-            // get the metatdata from the config
-            // the map is keyed on dialect and keyed to a List of metadata
-            // this allows you to build a metadata section per dialect
-            Map metadataMap = metadataConfig.getMetadata( dialect, identifier );
-
-            // iterate the returned set and add metadata sections
-            Iterator iterator = metadataMap.keySet().iterator();
-            while ( iterator.hasNext() )
-            {
-                String dialectKey = (String) iterator.next();
+   /**
+    * Creates a new {@link AbstractPortType} object.
+    *
+    * @param resourceContext
+    */
+   public MetadataExchangePortTypeImpl( ResourceContext resourceContext )
+   {
+      super( resourceContext );
+   }
+
+   /**
+    * WS-MetadataExchange GetMetadata operation.
+    *
+    * @param request
+    *
+    * @return MetadataDocument response document
+    */
+   public MetadataDocument getMetadata( GetMetadataDocument request )
+   {
+      MetadataConfiguration metadataConfig = getResourceContext(  ).getResourceHome(  ).getMetadataConfig(  );
+
+      // prep the response
+      MetadataDocument          responseDoc      = createMetadataResponseDoc(  );
+      MetadataDocument.Metadata responseMetadata = responseDoc.addNewMetadata(  );
+
+      if ( metadataConfig != null )
+      {
+         // get the values from the request
+         GetMetadataDocument.GetMetadata requestMetadata = request.getGetMetadata(  );
+         String                          dialect    = requestMetadata.getDialect(  );
+         String                          identifier = requestMetadata.getIdentifier(  );
+
+         // get the metatdata from the config
+         // the map is keyed on dialect and keyed to a List of metadata
+         // this allows you to build a metadata section per dialect
+         Map metadataMap = metadataConfig.getMetadata( dialect, identifier );
+
+         // iterate the returned set and add metadata sections
+         Iterator iterator = metadataMap.keySet(  ).iterator(  );
+         while ( iterator.hasNext(  ) )
+         {
+            String dialectKey = (String) iterator.next(  );
 
-                // get the list of metatadata for this dialect
-                List metadataList = (List) metadataMap.get( dialectKey );
+            // get the list of metatadata for this dialect
+            List metadataList = (List) metadataMap.get( dialectKey );
 
-                for ( int i = 0; i < metadataList.size(); i++ )
-                {
-                    // create a new metadata section
-                    MetadataSectionDocument.MetadataSection metadataSection = responseMetadata
-                            .addNewMetadataSection();
-                    MetadataEntry metadataEntry = (MetadataEntry) metadataList.get( i );
-                    XmlObject metadata = metadataEntry.getMetadata();
-                    if ( metadata == null )
-                    {
-                        continue;
-                    }
-                    metadataSection.setDialect( dialectKey );
-                    if ( ( identifier != null ) && !"".equals( identifier ) )
-                    {
-                        metadataSection.setIdentifier( identifier );
-                    }
-
-                    /** Determine type of metadata to add * */
-                    if ( metadata instanceof MetadataReferenceDocument )
-                    {
-                        // adds a MetadataReference for locating the metadata
-                        metadataSection
-                                .setMetadataReference( (EndpointReferenceType) metadata );
-                    }
-                    else if ( metadata instanceof LocationDocument )
-                    {
-                        // adds a Location for locating the metadata
-                        metadataSection.setLocation( ( (LocationDocument) metadata )
-                                .getLocation() );
-                    }
-                    else
-                    {
-                        // else its the metadata document and must be added as a
-                        // child for the "any"
-                        XmlBeanUtils.addChildElement( metadataSection,
-                                (XmlObject) metadata );
-                    }
-                }
+            for ( int i = 0; i < metadataList.size(  ); i++ )
+            {
+               // create a new metadata section
+               MetadataSectionDocument.MetadataSection metadataSection =
+                  responseMetadata.addNewMetadataSection(  );
+               MetadataEntry                           metadataEntry = (MetadataEntry) metadataList.get( i );
+               XmlObject                               metadata      = metadataEntry.getMetadata(  );
+               if ( metadata == null )
+               {
+                  continue;
+               }
+
+               metadataSection.setDialect( dialectKey );
+               if ( ( identifier != null ) && !"".equals( identifier ) )
+               {
+                  metadataSection.setIdentifier( identifier );
+               }
+
+               /** Determine type of metadata to add * */
+               if ( metadata instanceof MetadataReferenceDocument )
+               {
+                  // adds a MetadataReference for locating the metadata
+                  metadataSection.setMetadataReference( (EndpointReferenceType) metadata );
+               }
+               else if ( metadata instanceof LocationDocument )
+               {
+                  // adds a Location for locating the metadata
+                  metadataSection.setLocation( ( (LocationDocument) metadata ).getLocation(  ) );
+               }
+               else
+               {
+                  // else its the metadata document and must be added as a
+                  // child for the "any"
+                  XmlBeanUtils.addChildElement( metadataSection, (XmlObject) metadata );
+               }
             }
-        }
-        getResourceContext().setResponseAction(
-                URI.create( MetadataExchangeConstants.ACTION_GETMETADATA_RESPONSE ) );
-        return responseDoc;
-    }
-
-    /**
-     * WS-MetadataExchange Get operation.
-     *
-     * @return AnyXmlType response document.
-     */
-    public AnyXmlType get()
-    {
-        //todo spec says may use WS-Addressing ActionNotSupported
-        throw new FaultException( Soap1_1Constants.FAULT_SERVER, "Unimplemented Operation." );
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    protected NamespaceVersionHolder getNamespaceSet()
-    {
-        return NAMESPACE_SET;
-    }
-
-    /**
-     * Creates the response object for a GetMetadata request
-     *
-     * @return empty MetadataDocument
-     */
-    private MetadataDocument createMetadataResponseDoc()
-    {
-        return MetadataDocument.Factory
-                .newInstance();
-	}
-
+         }
+      }
 
+      getResourceContext(  ).setResponseAction( URI.create( MetadataExchangeConstants.ACTION_GETMETADATA_RESPONSE ) );
+      return responseDoc;
+   }
+
+   /**
+    * WS-MetadataExchange Get operation.
+    *
+    * @return AnyXmlType response document.
+    */
+   public AnyXmlType get(  )
+   {
+      //todo spec says may use WS-Addressing ActionNotSupported
+      throw new FaultException( Soap1_1Constants.FAULT_SERVER, "Unimplemented Operation." );
+   }
+
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   protected NamespaceVersionHolder getNamespaceSet(  )
+   {
+      return NAMESPACE_SET;
+   }
+
+   /**
+    * Creates the response object for a GetMetadata request
+    *
+    * @return empty MetadataDocument
+    */
+   private MetadataDocument createMetadataResponseDoc(  )
+   {
+      return MetadataDocument.Factory.newInstance(  );
+   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourceProperty.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourceProperty.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourceProperty.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourceProperty.java Thu Oct 20 10:50:00 2005
@@ -15,12 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties;
 
-import java.util.Iterator;
-
-import javax.xml.soap.SOAPElement;
-
 import org.apache.commons.lang.SerializationException;
 import org.w3c.dom.Element;
+import javax.xml.soap.SOAPElement;
+import java.util.Iterator;
 
 /**
  * Represents a single resource property. A resource property can have multiple values and can be converted into a DOM

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertyMetaData.java Thu Oct 20 10:50:00 2005
@@ -57,18 +57,18 @@
    boolean isNillable(  );
 
    /**
+    * Sets the read only flag.
+    *
+    * @param readOnly Sets the read only metatdata flag.
+    */
+   void setReadOnly( boolean readOnly );
+
+   /**
     * Returns whether this property is read only.
     *
     * @return Returns true if this property is read only. False, otherwise.
     */
    boolean isReadOnly(  );
-
-    /**
-     * Sets the read only flag.
-     *
-     * @param readOnly Sets the read only metatdata flag.
-     */
-   void setReadOnly( boolean readOnly );
 
    /**
     * Returns the Java element type of this property. When adding or setting element values the input value will be

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertySet.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertySet.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertySet.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/ResourcePropertySet.java Thu Oct 20 10:50:00 2005
@@ -15,13 +15,11 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties;
 
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPElement;
-
 import org.apache.commons.lang.SerializationException;
 import org.w3c.dom.Element;
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPElement;
+import java.util.Iterator;
 
 /**
  * This interface defines the API used to access a collection of resource properties contained in a resource.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/SetResourcePropertyCallback.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/SetResourcePropertyCallback.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/SetResourcePropertyCallback.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/SetResourcePropertyCallback.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.properties.impl.CallbackFailedException;
+import javax.xml.namespace.QName;
 
 /**
  * A callback that should be registered on any mutable properties (i.e.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/XmlBeansResourcePropertyUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/XmlBeansResourcePropertyUtils.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/XmlBeansResourcePropertyUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/XmlBeansResourcePropertyUtils.java Thu Oct 20 10:50:00 2005
@@ -15,8 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties;
 
-import java.util.Calendar;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.i18n.Keys;
@@ -25,6 +23,7 @@
 import org.apache.ws.util.i18n.Messages;
 import org.apache.xmlbeans.XmlDateTime;
 import org.apache.xmlbeans.impl.values.XmlDateTimeImpl;
+import java.util.Calendar;
 
 /**
  * A collection of utility methods for working with {@link XmlBeansResourceProperty}s.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/DeleteResourcePropertyRequestFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/DeleteResourcePropertyRequestFailedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/DeleteResourcePropertyRequestFailedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/DeleteResourcePropertyRequestFailedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,9 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import javax.xml.namespace.QName;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InsertResourcePropertyRequestFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InsertResourcePropertyRequestFailedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InsertResourcePropertyRequestFailedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InsertResourcePropertyRequestFailedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.faults.Description;
+import javax.xml.namespace.QName;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidInsertResourcePropertiesRequestContentFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidInsertResourcePropertiesRequestContentFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidInsertResourcePropertiesRequestContentFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidInsertResourcePropertiesRequestContentFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,9 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import javax.xml.namespace.QName;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidQueryExpressionFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidQueryExpressionFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidQueryExpressionFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidQueryExpressionFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,8 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
@@ -24,6 +22,7 @@
 import org.apache.ws.resource.properties.query.QueryExpression;
 import org.apache.ws.resource.properties.query.xpath.XPathExpression;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties InvalidQueryExpression fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidResourcePropertyQNameFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidResourcePropertyQNameFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidResourcePropertyQNameFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidResourcePropertyQNameFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,13 +15,12 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties InvalidResourcePropertyQName fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidSetResourcePropertiesRequestContentFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidSetResourcePropertiesRequestContentFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidSetResourcePropertiesRequestContentFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidSetResourcePropertiesRequestContentFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.properties.MetaDataViolationException;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties InvalidSetResourcePropertiesRequestContent fault type implemented as a Java

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidUpdateResourcePropertiesRequestContentFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidUpdateResourcePropertiesRequestContentFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidUpdateResourcePropertiesRequestContentFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/InvalidUpdateResourcePropertiesRequestContentFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,9 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import javax.xml.namespace.QName;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/QueryEvaluationErrorFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/QueryEvaluationErrorFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/QueryEvaluationErrorFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/QueryEvaluationErrorFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,9 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties QueryEvaluationError fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourcePropertyRetrievalFailedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.faults.FaultException;
+import javax.xml.namespace.QName;
 
 /**
  * A fault exception to be used when a refresh callback operation fails.
@@ -27,16 +26,15 @@
 public class ResourcePropertyRetrievalFailedFaultException
    extends FaultException
 {
-
-    /**
-     * Creates a new {@link FaultException} object.
-     *
-     * @param faultCode   DOCUMENT_ME
-     * @param faultString DOCUMENT_ME
-     */
-    public ResourcePropertyRetrievalFailedFaultException(QName faultCode, String faultString)
-    {
-        super(faultCode, faultString);
-    }
-
+   /**
+    * Creates a new {@link FaultException} object.
+    *
+    * @param faultCode   DOCUMENT_ME
+    * @param faultString DOCUMENT_ME
+    */
+   public ResourcePropertyRetrievalFailedFaultException( QName  faultCode,
+                                                         String faultString )
+   {
+      super( faultCode, faultString );
+   }
 }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/ResourceUnknownFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.ResourceUnknownException;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE Indicates that the resource identified in the message is not known to the Web service.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/SetResourcePropertyRequestFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/SetResourcePropertyRequestFailedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/SetResourcePropertyRequestFailedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/SetResourcePropertyRequestFailedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.Soap1_1Constants;
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties SetResourcePropertyRequestFailed fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnableToModifyResourcePropertyFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnableToModifyResourcePropertyFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnableToModifyResourcePropertyFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnableToModifyResourcePropertyFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,13 +15,12 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE WS-ResourceProperties UnableToModifyResourceProperty fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnknownQueryExpressionDialectFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnknownQueryExpressionDialectFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnknownQueryExpressionDialectFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UnknownQueryExpressionDialectFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,15 +15,13 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import java.net.URI;
-
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
+import java.net.URI;
 
 /**
  * LOG-DONE WS-ResourceProperties UnknownQueryExpressionDialect fault type implemented as a Java exception.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UpdateResourcePropertyRequestFailedFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UpdateResourcePropertyRequestFailedFaultException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UpdateResourcePropertyRequestFailedFaultException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/faults/UpdateResourcePropertyRequestFailedFaultException.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.faults;
 
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.NamespaceVersionHolder;
 import org.apache.ws.resource.faults.AbstractBaseFaultException;
 import org.apache.ws.resource.faults.Description;
+import javax.xml.namespace.QName;
 
 /**
  * @author Sal Campana

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractGetResourcePropertiesPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractGetResourcePropertiesPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractGetResourcePropertiesPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractGetResourcePropertiesPortType.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.ResourceContext;
@@ -29,6 +25,8 @@
 import org.apache.ws.util.XmlBeanUtils;
 import org.apache.ws.util.i18n.Messages;
 import org.apache.xmlbeans.XmlObject;
+import javax.xml.namespace.QName;
+import java.util.Iterator;
 
 /**
  * A version-neutral base class that is extended by all impls of GetRP and GetMultipleRPs portTypes.
@@ -86,7 +84,7 @@
       ResourceProperty prop = getProperties(  ).get( propName );
       if ( prop == null )
       {
-         throw new InvalidResourcePropertyQNameFaultException( getResource().getNamespaceSet(), propName );
+         throw new InvalidResourcePropertyQNameFaultException( getResource(  ).getNamespaceSet(  ), propName );
       }
 
       refreshProperty( prop );

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractResourcePropertiesPortType.java Thu Oct 20 10:50:00 2005
@@ -15,8 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.util.Iterator;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.Soap1_1Constants;
@@ -30,6 +28,7 @@
 import org.apache.ws.resource.properties.ResourcePropertySet;
 import org.apache.ws.resource.properties.faults.ResourcePropertyRetrievalFailedFaultException;
 import org.apache.ws.util.i18n.Messages;
+import java.util.Iterator;
 
 /**
  * A version-neutral base class that is extended by all portType impls that make use of resource properties.
@@ -95,8 +94,10 @@
          }
          catch ( Exception e )
          {
-            LOG.error( "Refresh Callback Failed on ResourceProperty named: " + prop.getMetaData().getName().toString(), e );
-            throw new ResourcePropertyRetrievalFailedFaultException( Soap1_1Constants.FAULT_SERVER , e.getLocalizedMessage(  ));
+            LOG.error( "Refresh Callback Failed on ResourceProperty named: "
+                       + prop.getMetaData(  ).getName(  ).toString(  ), e );
+            throw new ResourcePropertyRetrievalFailedFaultException( Soap1_1Constants.FAULT_SERVER,
+                                                                     e.getLocalizedMessage(  ) );
          }
       }
    }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractSetResourcePropertiesPortType.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractSetResourcePropertiesPortType.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractSetResourcePropertiesPortType.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AbstractSetResourcePropertiesPortType.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.util.Iterator;
-
-import javax.xml.namespace.QName;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.ResourceContext;
@@ -40,6 +36,8 @@
 import org.apache.ws.util.XmlBeanUtils;
 import org.apache.ws.util.i18n.Messages;
 import org.apache.xmlbeans.XmlObject;
+import javax.xml.namespace.QName;
+import java.util.Iterator;
 
 /**
  * A version-neutral base class that is extended by all impls of SetRP, InsertRPs, DeleteRPs, and UpdateRPs portTypes.
@@ -87,7 +85,7 @@
 
       if ( nameOfPropToBeDeleted == null )
       {
-         throw new DeleteResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+         throw new DeleteResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                       MSG.getMessage( Keys.DEL_MISSING_RP_ATTRIB ) );
       }
 
@@ -100,7 +98,8 @@
          }
          else
          {
-            throw new InvalidResourcePropertyQNameFaultException( getResource().getNamespaceSet(), nameOfPropToBeDeleted );
+            throw new InvalidResourcePropertyQNameFaultException( getResource(  ).getNamespaceSet(  ),
+                                                                  nameOfPropToBeDeleted );
          }
       }
 
@@ -112,7 +111,7 @@
       }
       catch ( RuntimeException re )
       {
-         throw new DeleteResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+         throw new DeleteResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                       re.toString(  ) );
       }
 
@@ -141,7 +140,7 @@
 
       if ( elementNamesNotHomogenous( propElemsToBeInserted ) )
       {
-         throw new InvalidInsertResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ),
+         throw new InvalidInsertResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
                                                                                 MSG.getMessage( Keys.ERROR_INSERT_ELEMS_NOT_HOMOGENOUS ) );
       }
 
@@ -167,7 +166,7 @@
       }
       catch ( RuntimeException re )
       {
-         throw new SetResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+         throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                    re.toString(  ) );
       }
 
@@ -180,7 +179,8 @@
          }
          catch ( MetaDataViolationException mdve )
          {
-            throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ), mdve );
+            throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
+                                                                                mdve );
          }
       }
 
@@ -211,7 +211,7 @@
       throwFaultIfPropertyIsReadOnly( prop );
       if ( elementNamesNotHomogenous( newPropElems ) )
       {
-         throw new InvalidUpdateResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ),
+         throw new InvalidUpdateResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
                                                                                 MSG.getMessage( Keys.ERROR_UPDATE_ELEMS_NOT_HOMOGENOUS ) );
       }
 
@@ -223,7 +223,7 @@
       }
       catch ( RuntimeException re )
       {
-         throw new SetResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+         throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                    re.toString(  ) );
       }
 
@@ -239,7 +239,8 @@
       }
       catch ( MetaDataViolationException mdve )
       {
-         throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ), mdve );
+         throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
+                                                                             mdve );
       }
 
       Object[] newValue = getValue( prop );
@@ -255,7 +256,7 @@
       {
          if ( !getProperties(  ).getMetaData(  ).isOpenContent(  ) )
          {
-            throw new InvalidResourcePropertyQNameFaultException( getResource().getNamespaceSet(  ), propName );
+            throw new InvalidResourcePropertyQNameFaultException( getResource(  ).getNamespaceSet(  ), propName );
          }
       }
 
@@ -314,7 +315,7 @@
          {
             LOG.debug( MSG.getMessage( Keys.ERROR_DURING_DELETE_CALLBACK, setResourcePropertyCallback ),
                        e );
-            throw new SetResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                       MSG.getMessage( Keys.ERROR_DURING_DELETE ) );
          }
       }
@@ -360,7 +361,7 @@
          {
             LOG.debug( MSG.getMessage( Keys.ERROR_DURING_INSERT_CALLBACK, setResourcePropertyCallback ),
                        e );
-            throw new SetResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                       MSG.getMessage( Keys.ERROR_DURING_INSERT ) );
          }
       }
@@ -370,7 +371,7 @@
    {
       if ( prop.getMetaData(  ).getMinOccurs(  ) != 0 )
       {
-         throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ),
+         throw new InvalidSetResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
                                                                              MSG.getMessage( 
                                                                                              Keys.ERROR_PROPERTY_DELETE_VIOLATES_SCHEMA,
                                                                                              prop.getMetaData(  )
@@ -385,7 +386,7 @@
       if ( ( prop.getMetaData(  ).getMaxOccurs(  ) != -1 )
            && ( ( prop.size(  ) + propElemsToBeInserted.length ) > prop.getMetaData(  ).getMaxOccurs(  ) ) )
       {
-         throw new InvalidInsertResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ),
+         throw new InvalidInsertResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
                                                                                 MSG.getMessage( 
                                                                                                 Keys.ERROR_PROPERTY_INSERT_VIOLATES_SCHEMA,
                                                                                                 ( ( propElemsToBeInserted.length > 1 )
@@ -399,7 +400,7 @@
    {
       if ( prop.getMetaData(  ).isReadOnly(  ) )
       {
-         throw new UnableToModifyResourcePropertyFaultException( getResource().getNamespaceSet(  ),
+         throw new UnableToModifyResourcePropertyFaultException( getResource(  ).getNamespaceSet(  ),
                                                                  prop.getMetaData(  ).getName(  ) );
       }
    }
@@ -411,7 +412,7 @@
       if ( ( prop.getMetaData(  ).getMaxOccurs(  ) != -1 )
            && ( newPropElems.length > prop.getMetaData(  ).getMaxOccurs(  ) ) )
       {
-         throw new InvalidUpdateResourcePropertiesRequestContentFaultException( getResource().getNamespaceSet(  ),
+         throw new InvalidUpdateResourcePropertiesRequestContentFaultException( getResource(  ).getNamespaceSet(  ),
                                                                                 MSG.getMessage( 
                                                                                                 Keys.ERROR_PROPERTY_UPDATE_VIOLATES_SCHEMA,
                                                                                                 prop.getMetaData(  )
@@ -433,7 +434,7 @@
          {
             LOG.debug( MSG.getMessage( Keys.ERROR_DURING_UPDATE_CALLBACK, setResourcePropertyCallback ),
                        e );
-            throw new SetResourcePropertyRequestFailedFaultException( getResource().getNamespaceSet(  ),
+            throw new SetResourcePropertyRequestFailedFaultException( getResource(  ).getNamespaceSet(  ),
                                                                       MSG.getMessage( Keys.ERROR_DURING_UPDATE ) );
          }
       }

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AnyResourcePropertyMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AnyResourcePropertyMetaData.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AnyResourcePropertyMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/AnyResourcePropertyMetaData.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import javax.xml.namespace.QName;
-
 import org.apache.xmlbeans.XmlObject;
+import javax.xml.namespace.QName;
 
 /**
  * LOG-DONE

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourceProperty.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourceProperty.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourceProperty.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourceProperty.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.util.ArrayList;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import javax.xml.soap.SOAPElement;
-
 import org.apache.commons.lang.SerializationException;
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
@@ -38,6 +30,12 @@
 import org.apache.xmlbeans.XmlObject;
 import org.apache.xmlbeans.XmlOptions;
 import org.w3c.dom.Element;
+import javax.xml.soap.SOAPElement;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
 
 /**
  * An Apache XMLBeans-based implementation of a resource property.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertyMetaData.java Thu Oct 20 10:50:00 2005
@@ -15,10 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.math.BigInteger;
-
-import javax.xml.namespace.QName;
-
 import org.apache.ws.resource.properties.ResourceProperty;
 import org.apache.ws.resource.properties.ResourcePropertyMetaData;
 import org.apache.ws.resource.properties.ResourcePropertySet;
@@ -26,6 +22,8 @@
 import org.apache.xmlbeans.SchemaProperty;
 import org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.ModifiabilityType;
 import org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.PropertyType;
+import javax.xml.namespace.QName;
+import java.math.BigInteger;
 
 /**
  * Apache XMLBeans-based implementation of resource property metadata.
@@ -130,6 +128,16 @@
    }
 
    /**
+    * Sets the read only flag.
+    *
+    * @param readOnly Sets the read only metatdata flag.
+    */
+   public void setReadOnly( boolean readOnly )
+   {
+      m_isReadOnly = readOnly;
+   }
+
+   /**
     * DOCUMENT_ME
     *
     * @return DOCUMENT_ME
@@ -139,33 +147,23 @@
       return m_isReadOnly;
    }
 
-    /**
-     * Sets the read only flag.
-     *
-     * @param readOnly Sets the read only metatdata flag.
-     */
-    public void setReadOnly(boolean readOnly)
-    {
-       m_isReadOnly = readOnly;
-    }
-
-    /**
-     * DOCUMENT_ME
-     *
-     * @return DOCUMENT_ME
-     */
-    public ResourcePropertySetMetaData getSetMetaData(  )
-    {
-       synchronized ( this )
-       {
-          if ( m_setMetaData == null )
-          {
-             m_setMetaData = new XmlBeansResourcePropertySetMetaData( m_schemaProp.getContainerType(  ) );
-          }
-       }
+   /**
+    * DOCUMENT_ME
+    *
+    * @return DOCUMENT_ME
+    */
+   public ResourcePropertySetMetaData getSetMetaData(  )
+   {
+      synchronized ( this )
+      {
+         if ( m_setMetaData == null )
+         {
+            m_setMetaData = new XmlBeansResourcePropertySetMetaData( m_schemaProp.getContainerType(  ) );
+         }
+      }
 
-       return m_setMetaData;
-    }
+      return m_setMetaData;
+   }
 
    /**
     * DOCUMENT_ME

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySet.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySet.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySet.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySet.java Thu Oct 20 10:50:00 2005
@@ -15,15 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.lang.reflect.Method;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-import javax.xml.namespace.QName;
-import javax.xml.soap.SOAPElement;
-
 import org.apache.commons.lang.SerializationException;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
@@ -42,6 +33,13 @@
 import org.apache.xmlbeans.XmlOptions;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
+import javax.xml.namespace.QName;
+import javax.xml.soap.SOAPElement;
+import java.lang.reflect.Method;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.Map;
 
 /**
  * An Apache XMLBeans-based implementation of a resource property set.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySetMetaData.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySetMetaData.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySetMetaData.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/impl/XmlBeansResourcePropertySetMetaData.java Thu Oct 20 10:50:00 2005
@@ -15,14 +15,6 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.impl;
 
-import java.lang.reflect.Method;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-import java.util.Set;
-
-import javax.xml.namespace.QName;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.ws.resource.i18n.Keys;
@@ -37,6 +29,12 @@
 import org.apache.xmlbeans.XmlObject;
 import org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.MetadataDescriptorType;
 import org.oasisOpen.docs.wsrf.x2004.x10.wsrfWSResourceMetadataDescriptor10Draft01.PropertyType;
+import javax.xml.namespace.QName;
+import java.lang.reflect.Method;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
 
 /**
  * An Apache XMLBeans-based implementation of resource property set metadata.
@@ -99,7 +97,8 @@
       }
 
       m_schemaType = schemaType;
-      SchemaProperty[] elemTypes = m_schemaType.getElementProperties(  )[0].getType(  ).getElementProperties(  );
+      SchemaProperty[] elemTypes           =
+         m_schemaType.getElementProperties(  )[0].getType(  ).getElementProperties(  );
       Set              readOnlyPropNameSet = toSet( readOnlyPropNames );
       for ( int i = 0; i < elemTypes.length; i++ )
       {

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/ExpressionEvaluator.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/ExpressionEvaluator.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/ExpressionEvaluator.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/ExpressionEvaluator.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.query;
 
-import java.net.URI;
-
 import org.apache.ws.resource.properties.ResourcePropertySet;
+import java.net.URI;
 
 /**
  * An <code>ExpressionEvaluator</code> is used to implement a query expression evaluation of a

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryEngine.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryEngine.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryEngine.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryEngine.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.query;
 
-import java.net.URI;
-
 import org.apache.ws.resource.properties.ResourcePropertySet;
+import java.net.URI;
 
 /**
  * The <code>QueryEngine</code> interface is used to map queries on the service data of a service to the appropriate

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryExpression.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryExpression.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryExpression.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/QueryExpression.java Thu Oct 20 10:50:00 2005
@@ -15,9 +15,8 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.query;
 
-import java.net.URI;
-
 import org.apache.ws.util.xml.NamespaceContext;
+import java.net.URI;
 
 /**
  * Java representation of the wsrf-rp:QueryExpressionType XML schema type.

Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/UnknownQueryExpressionDialectException.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/UnknownQueryExpressionDialectException.java?rev=326958&r1=326957&r2=326958&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/UnknownQueryExpressionDialectException.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/properties/query/UnknownQueryExpressionDialectException.java Thu Oct 20 10:50:00 2005
@@ -15,11 +15,10 @@
  *=============================================================================*/
 package org.apache.ws.resource.properties.query;
 
-import java.net.URI;
-
 import org.apache.ws.resource.i18n.Keys;
 import org.apache.ws.resource.i18n.MessagesImpl;
 import org.apache.ws.util.i18n.Messages;
+import java.net.URI;
 
 /**
  * Indicates that the given QueryExpression has a dialect that is unknown to the Web service.



Mime
View raw message