directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r485987 - in /directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service: DefaultReplicationContext.java SimpleReplicationContext.java protocol/handler/ReplicationProtocolHandler.java
Date Tue, 12 Dec 2006 02:29:26 GMT
Author: trustin
Date: Mon Dec 11 18:29:26 2006
New Revision: 485987

URL: http://svn.apache.org/viewvc?view=rev&rev=485987
Log:
Renamed SimpleReplicationContext to DefaultReplicationContext because there's only one default
implementation for now

Added:
    directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/DefaultReplicationContext.java
      - copied, changed from r485973, directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/SimpleReplicationContext.java
Removed:
    directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/SimpleReplicationContext.java
Modified:
    directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationProtocolHandler.java

Copied: directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/DefaultReplicationContext.java
(from r485973, directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/SimpleReplicationContext.java)
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/DefaultReplicationContext.java?view=diff&rev=485987&p1=directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/SimpleReplicationContext.java&r1=485973&p2=directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/DefaultReplicationContext.java&r2=485987
==============================================================================
--- directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/SimpleReplicationContext.java
(original)
+++ directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/DefaultReplicationContext.java
Mon Dec 11 18:29:26 2006
@@ -38,7 +38,7 @@
 import org.apache.mina.util.SessionLog;
 
 
-public class SimpleReplicationContext implements ReplicationContext
+public class DefaultReplicationContext implements ReplicationContext
 {
     private static final Timer expirationTimer = new Timer( "ReplicationMessageExpirer" );
 
@@ -52,7 +52,7 @@
     private State state = State.INIT;
 
 
-    public SimpleReplicationContext( ReplicationService service, DirectoryServiceConfiguration
serviceCfg,
+    public DefaultReplicationContext( ReplicationService service, DirectoryServiceConfiguration
serviceCfg,
         ReplicationConfiguration configuration, IoSession session )
     {
         this.service = service;

Modified: directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationProtocolHandler.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationProtocolHandler.java?view=diff&rev=485987&r1=485986&r2=485987
==============================================================================
--- directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationProtocolHandler.java
(original)
+++ directory/trunks/apacheds/mitosis/src/main/java/org/apache/directory/mitosis/service/protocol/handler/ReplicationProtocolHandler.java
Mon Dec 11 18:29:26 2006
@@ -23,7 +23,7 @@
 import org.apache.directory.mitosis.configuration.ReplicationConfiguration;
 import org.apache.directory.mitosis.service.ReplicationContext;
 import org.apache.directory.mitosis.service.ReplicationService;
-import org.apache.directory.mitosis.service.SimpleReplicationContext;
+import org.apache.directory.mitosis.service.DefaultReplicationContext;
 import org.apache.directory.server.core.DirectoryServiceConfiguration;
 import org.apache.mina.common.IdleStatus;
 import org.apache.mina.common.IoHandler;
@@ -64,7 +64,7 @@
 
     public void sessionCreated( IoSession session ) throws Exception
     {
-        session.setAttribute( CONTEXT, new SimpleReplicationContext( service, serviceCfg,
configuration, session ) );
+        session.setAttribute( CONTEXT, new DefaultReplicationContext( service, serviceCfg,
configuration, session ) );
     }
 
 



Mime
View raw message