You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by jy...@apache.org on 2004/03/19 01:11:02 UTC
cvs commit: jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/registry/factory PropertiesRegistryFactory.java
jyang 2004/03/18 16:11:02
Modified: cornerstone/src/java/org/apache/cornerstone/framework/registry/factory
PropertiesRegistryFactory.java
Log:
changed registryParentPath to runtimeHomeDir
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.3 +3 -3 jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/registry/factory/PropertiesRegistryFactory.java
Index: PropertiesRegistryFactory.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/cornerstone/src/java/org/apache/cornerstone/framework/registry/factory/PropertiesRegistryFactory.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PropertiesRegistryFactory.java 8 Mar 2004 01:00:11 -0000 1.2
+++ PropertiesRegistryFactory.java 19 Mar 2004 00:11:02 -0000 1.3
@@ -50,9 +50,9 @@
throw new CreationException("please use the other signature to pass in registryParentPath");
}
- public Object createInstance(Object registryParentPath) throws CreationException
+ public Object createInstance(Object runtimeHomeDir) throws CreationException
{
- String registryPath = registryParentPath + File.separator + REG_DIR_NAME;
+ String registryPath = runtimeHomeDir + File.separator + REG_DIR_NAME;
// create the Registry
IRegistry registry = BaseRegistry.getSingleton();
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org