You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by am...@apache.org on 2005/08/18 18:59:12 UTC
svn commit: r233335 - in
/geronimo/trunk/modules/system/src/java/org/apache/geronimo/system/serverinfo:
BasicServerInfo.java ServerInfo.java
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"});