james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1143675 - /james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/
Date Thu, 07 Jul 2011 06:41:57 GMT
Author: norman
Date: Thu Jul  7 06:41:57 2011
New Revision: 1143675

URL: http://svn.apache.org/viewvc?rev=1143675&view=rev
Log:
Rename AbstractServiceTracker to AbstractBundleTracker to better match what it actual does.
See JAMES-835

Added:
    james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractBundleTracker.java
      - copied, changed from r1143674, james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractServiceTracker.java
Removed:
    james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractServiceTracker.java
Modified:
    james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/DomainListTracker.java
    james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/RecipientRewriteTableTracker.java
    james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/UsersRepositoryTracker.java

Copied: james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractBundleTracker.java
(from r1143674, james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractServiceTracker.java)
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractBundleTracker.java?p2=james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractBundleTracker.java&p1=james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractServiceTracker.java&r1=1143674&r2=1143675&rev=1143675&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractServiceTracker.java
(original)
+++ james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/AbstractBundleTracker.java
Thu Jul  7 06:41:57 2011
@@ -50,13 +50,13 @@ import org.springframework.osgi.service.
  * the {@link BeanDefinitionRegistry} and also register it to the OSG-Registry via an {@link
OsgiServiceFactoryBean}
  * 
  */
-public abstract class AbstractServiceTracker implements BeanFactoryAware, BundleListener,
BundleContextAware, InitializingBean, DisposableBean {
+public abstract class AbstractBundleTracker implements BeanFactoryAware, BundleListener,
BundleContextAware, InitializingBean, DisposableBean {
 
     private BundleContext context;
     private String configuredClass;
     private volatile OsgiServiceFactoryBean osgiFactoryBean;
     private BeanFactory factory;
-    private Logger logger = LoggerFactory.getLogger(AbstractServiceTracker.class);
+    private Logger logger = LoggerFactory.getLogger(AbstractBundleTracker.class);
     
     @Override
     public void setBeanFactory(BeanFactory factory) throws BeansException {

Modified: james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/DomainListTracker.java
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/DomainListTracker.java?rev=1143675&r1=1143674&r2=1143675&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/DomainListTracker.java
(original)
+++ james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/DomainListTracker.java
Thu Jul  7 06:41:57 2011
@@ -20,7 +20,7 @@ package org.apache.james.container.sprin
 
 import org.apache.james.domainlist.api.DomainList;
 
-public class DomainListTracker extends AbstractServiceTracker{
+public class DomainListTracker extends AbstractBundleTracker{
 
     @Override
     protected String getComponentName() {

Modified: james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/RecipientRewriteTableTracker.java
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/RecipientRewriteTableTracker.java?rev=1143675&r1=1143674&r2=1143675&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/RecipientRewriteTableTracker.java
(original)
+++ james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/RecipientRewriteTableTracker.java
Thu Jul  7 06:41:57 2011
@@ -20,7 +20,7 @@ package org.apache.james.container.sprin
 
 import org.apache.james.rrt.api.RecipientRewriteTable;
 
-public class RecipientRewriteTableTracker extends AbstractServiceTracker{
+public class RecipientRewriteTableTracker extends AbstractBundleTracker{
 
     @Override
     protected String getComponentName() {

Modified: james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/UsersRepositoryTracker.java
URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/UsersRepositoryTracker.java?rev=1143675&r1=1143674&r2=1143675&view=diff
==============================================================================
--- james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/UsersRepositoryTracker.java
(original)
+++ james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/osgi/UsersRepositoryTracker.java
Thu Jul  7 06:41:57 2011
@@ -20,7 +20,7 @@ package org.apache.james.container.sprin
 
 import org.apache.james.user.api.UsersRepository;
 
-public class UsersRepositoryTracker extends AbstractServiceTracker{
+public class UsersRepositoryTracker extends AbstractBundleTracker{
 
     
     @Override



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message