geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r233335 - in /geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo: BasicServerInfo.java ServerInfo.java
Date Thu, 18 Aug 2005 16:59:12 GMT
Author: ammulder
Date: Thu Aug 18 09:59:09 2005
New Revision: 233335

URL: http://svn.apache.org/viewcvs?rev=233335&view=rev
Log:
Rename ServerInfo implementation class to accomodate interface.
Please don't update until my next commit.

Added:
    geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/BasicServerInfo.java
      - copied, changed from r233174, geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo.java
Removed:
    geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo.java

Copied: geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/BasicServerInfo.java
(from r233174, geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo.java)
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/BasicServerInfo.java?p2=geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/BasicServerInfo.java&p1=geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo.java&r1=233174&r2=233335&rev=233335&view=diff
==============================================================================
--- geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/ServerInfo.java
(original)
+++ geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo/BasicServerInfo.java
Thu Aug 18 09:59:09 2005
@@ -29,7 +29,7 @@
  *
  * @version $Rev$ $Date$
  */
-public class ServerInfo {
+public class ServerInfo implements ServerInformation {
     private final String baseDirectory;
     private final File base;
     private final URI baseURI;
@@ -138,6 +138,8 @@
         infoFactory.addOperation("resolvePath", new Class[]{String.class});
         infoFactory.addOperation("resolve", new Class[]{String.class});
         infoFactory.addOperation("resolve", new Class[]{URI.class});
+
+        infoFactory.addInterface(ServerInformation.class);
 
         infoFactory.setConstructor(new String[]{"baseDirectory"});
 



Mime
View raw message