[jboss-cvs] JBossAS SVN: r65407 - trunk/cluster/src/main/org/jboss/ha/framework/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Sep 14 17:36:38 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-09-14 17:36:38 -0400 (Fri, 14 Sep 2007)
New Revision: 65407

Modified:
   trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedReplicantManagerImpl.java
Log:
[JBAS-4724] DRM lifecycle must be controlled by ClusterPartition

Modified: trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedReplicantManagerImpl.java
===================================================================
--- trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedReplicantManagerImpl.java	2007-09-14 21:35:55 UTC (rev 65406)
+++ trunk/cluster/src/main/org/jboss/ha/framework/server/DistributedReplicantManagerImpl.java	2007-09-14 21:36:38 UTC (rev 65407)
@@ -96,7 +96,7 @@
 
    // Public --------------------------------------------------------
    
-   public void create() throws Exception
+   public void createService() throws Exception
    {
       if (partition == null)
          throw new IllegalStateException("HAPartition property must be set before creating DistributedReplicantManager service");
@@ -109,7 +109,7 @@
       partition.registerMembershipListener(this);
    }
    
-   public void start() throws Exception
+   public void startService() throws Exception
    {
       this.nodeName = this.partition.getNodeName();
    
@@ -123,7 +123,7 @@
       //mergeMembers();
    }
    
-   public void stop() throws Exception
+   public void stopService() throws Exception
    {
       // Stop the asynch handler thread
       try
@@ -139,7 +139,7 @@
    }
 
    // NR 200505 : [JBCLUSTER-38] unbind at destroy
-   public void destroy() throws Exception
+   public void destroyService() throws Exception
    {      
       // we cleanly shutdown. This should be optimized.
       if (localReplicants != null)




More information about the jboss-cvs-commits mailing list