[jboss-cvs] JBossAS SVN: r108015 - projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Sep 7 14:53:47 EDT 2010


Author: pferraro
Date: 2010-09-07 14:53:46 -0400 (Tue, 07 Sep 2010)
New Revision: 108015

Modified:
   projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/LocalDistributableSessionManager.java
Log:
Replace getHostName()/getContextName() with getName()

Modified: projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/LocalDistributableSessionManager.java
===================================================================
--- projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/LocalDistributableSessionManager.java	2010-09-07 18:35:42 UTC (rev 108014)
+++ projects/cluster/ha-server-cache-spi/trunk/src/main/java/org/jboss/web/tomcat/service/session/distributedcache/spi/LocalDistributableSessionManager.java	2010-09-07 18:53:46 UTC (rev 108015)
@@ -40,20 +40,13 @@
    boolean isPassivationEnabled();
    
    /**
-    * Gets the name of the Tomcat Context.
-    * 
-    * @return the context name
+    * Returns the unique name of this session manager.
+    * Typically composed of host name and context name.
+    * @return a unique name
     */
-   String getContextName();
+   String getName();
    
    /**
-    * Gets the name of the application's virtual host.
-    * 
-    * @return the name of the host
-    */
-   String getHostName();
-   
-   /**
     * Get the classloader able to load application classes.
     * 
     * @return the classloader. Will not return <code>null</code>



More information about the jboss-cvs-commits mailing list