directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1067575 - in /directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request: AbstractRequestDsml.java AbstractResultResponseRequestDsml.java
Date Sun, 06 Feb 2011 01:54:43 GMT
Author: akarasulu
Date: Sun Feb  6 01:54:43 2011
New Revision: 1067575

URL: http://svn.apache.org/viewvc?rev=1067575&view=rev
Log:
removing more dependencies on codec

Modified:
    directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java
    directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java

Modified: directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java?rev=1067575&r1=1067574&r2=1067575&view=diff
==============================================================================
--- directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java
(original)
+++ directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractRequestDsml.java
Sun Feb  6 01:54:43 2011
@@ -23,10 +23,9 @@ package org.apache.directory.shared.dsml
 import java.nio.ByteBuffer;
 
 import org.apache.directory.shared.asn1.EncoderException;
-import org.apache.directory.shared.dsmlv2.DsmlDecorator;
+import org.apache.directory.shared.dsmlv2.AbstractDsmlMessageDecorator;
 import org.apache.directory.shared.dsmlv2.ParserUtils;
 import org.apache.directory.shared.ldap.codec.LdapCodecService;
-import org.apache.directory.shared.ldap.codec.decorators.RequestDecorator;
 import org.apache.directory.shared.ldap.model.message.Request;
 import org.dom4j.Element;
 
@@ -36,7 +35,9 @@ import org.dom4j.Element;
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
-public abstract class AbstractRequestDsml<E extends Request> extends RequestDecorator<E>
implements DsmlDecorator<E>, Request
+public abstract class AbstractRequestDsml<E extends Request> 
+    extends AbstractDsmlMessageDecorator<E> 
+    implements Request
 {
     /**
      * Creates a new instance of AbstractRequestDsml.
@@ -129,4 +130,13 @@ public abstract class AbstractRequestDsm
     {
         return null;
     }
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public boolean hasResponse()
+    {
+        return getDecorated().hasResponse();
+    }
 }

Modified: directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java?rev=1067575&r1=1067574&r2=1067575&view=diff
==============================================================================
--- directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java
(original)
+++ directory/shared/branches/m1/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/request/AbstractResultResponseRequestDsml.java
Sun Feb  6 01:54:43 2011
@@ -23,10 +23,8 @@ package org.apache.directory.shared.dsml
 import java.nio.ByteBuffer;
 
 import org.apache.directory.shared.asn1.EncoderException;
-import org.apache.directory.shared.dsmlv2.DsmlDecorator;
 import org.apache.directory.shared.dsmlv2.ParserUtils;
 import org.apache.directory.shared.ldap.codec.LdapCodecService;
-import org.apache.directory.shared.ldap.codec.decorators.RequestDecorator;
 import org.apache.directory.shared.ldap.model.message.AbandonListener;
 import org.apache.directory.shared.ldap.model.message.AbandonableRequest;
 import org.apache.directory.shared.ldap.model.message.ResultResponse;
@@ -40,8 +38,8 @@ import org.dom4j.Element;
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public abstract class AbstractResultResponseRequestDsml<E extends ResultResponseRequest>

-    extends RequestDecorator<E> 
-    implements DsmlDecorator<E>, ResultResponseRequest, AbandonableRequest
+    extends AbstractRequestDsml<E> 
+    implements ResultResponseRequest, AbandonableRequest
 {
     /**
      * Creates a new instance of AbstractRequestDsml.



Mime
View raw message