directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erodrig...@apache.org
Subject svn commit: r329076 - in /directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw: ChangePasswordServerFactory.java ChangepwServerFactory.java metadata.xml
Date Fri, 28 Oct 2005 03:56:41 GMT
Author: erodriguez
Date: Thu Oct 27 20:56:36 2005
New Revision: 329076

URL: http://svn.apache.org/viewcvs?rev=329076&view=rev
Log:
Renamed the ChangePasswordServerFactory.

Added:
    directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangePasswordServerFactory.java
      - copied, changed from r329028, directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangepwServerFactory.java
Removed:
    directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangepwServerFactory.java
Modified:
    directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/metadata.xml

Copied: directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangePasswordServerFactory.java
(from r329028, directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangepwServerFactory.java)
URL: http://svn.apache.org/viewcvs/directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangePasswordServerFactory.java?p2=directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangePasswordServerFactory.java&p1=directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangepwServerFactory.java&r1=329028&r2=329076&rev=329076&view=diff
==============================================================================
--- directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangepwServerFactory.java
(original)
+++ directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/ChangePasswordServerFactory.java
Thu Oct 27 20:56:36 2005
@@ -37,10 +37,10 @@
 import org.slf4j.LoggerFactory;
 import org.ungoverned.gravity.servicebinder.Lifecycle;
 
-public class ChangepwServerFactory implements ManagedServiceFactory, Lifecycle
+public class ChangePasswordServerFactory implements ManagedServiceFactory, Lifecycle
 {
     /** the log for this class */
-    private static final Logger log = LoggerFactory.getLogger( ChangepwServerFactory.class
);
+    private static final Logger log = LoggerFactory.getLogger( ChangePasswordServerFactory.class
);
 
     private static final String DEFAULT_PID = "org.apache.changepw.default";
 
@@ -70,7 +70,7 @@
             }
 
             // For a given pid, do we have the service?
-            ChangepwServer changepwServer = (ChangepwServer) servers.get( pid );
+            ChangePasswordServer changepwServer = (ChangePasswordServer) servers.get( pid
);
 
             // If we don't have the service, create it with the config.
             // Or, if we do have the service, re-create it if the config is different.
@@ -78,7 +78,7 @@
             {
                 deleted( pid );
                 PrincipalStore store = new JndiPrincipalStoreImpl( changepwConfig, factory
);
-                changepwServer = new ChangepwServer( changepwConfig, registry, store );
+                changepwServer = new ChangePasswordServer( changepwConfig, registry, store
);
                 servers.put( pid, changepwServer );
             }
         }
@@ -88,7 +88,7 @@
     {
         synchronized ( servers )
         {
-            ChangepwServer server = (ChangepwServer) servers.remove( pid );
+            ChangePasswordServer server = (ChangePasswordServer) servers.remove( pid );
 
             if ( server != null )
             {
@@ -137,7 +137,7 @@
 
             while ( it.hasNext() )
             {
-                ChangepwServer server = (ChangepwServer) it.next();
+                ChangePasswordServer server = (ChangePasswordServer) it.next();
                 server.destroy();
             }
 

Modified: directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/metadata.xml
URL: http://svn.apache.org/viewcvs/directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/metadata.xml?rev=329076&r1=329075&r2=329076&view=diff
==============================================================================
--- directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/metadata.xml
(original)
+++ directory/standalone/trunk/osgi/changepw/src/main/java/org/apache/changepw/metadata.xml
Thu Oct 27 20:56:36 2005
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--<!DOCTYPE bundle SYSTEM "metadata.dtd">-->
 <bundle>
-  <component class="org.apache.changepw.ChangepwServerFactory">
+  <component class="org.apache.changepw.ChangePasswordServerFactory">
     <provides service="org.osgi.service.cm.ManagedServiceFactory"/>
     <property name="service.pid" value="org.apache.changepw.factory" type="string"/>
     <requires



Mime
View raw message