You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2006/03/15 16:09:00 UTC
svn commit: r386089 -
/incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java
Author: rickhall
Date: Wed Mar 15 07:08:51 2006
New Revision: 386089
URL: http://svn.apache.org/viewcvs?rev=386089&view=rev
Log:
Renamed DefaultBundleCache to BundleCache.
Modified:
incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java
Modified: incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java
URL: http://svn.apache.org/viewcvs/incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java?rev=386089&r1=386088&r2=386089&view=diff
==============================================================================
--- incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java (original)
+++ incubator/felix/trunk/org.apache.felix.daemon/src/main/java/org/apache/felix/daemon/Service.java Wed Mar 15 07:08:51 2006
@@ -13,7 +13,7 @@
import org.apache.directory.daemon.InstallationLayout;
import org.apache.felix.framework.Felix;
-import org.apache.felix.framework.cache.DefaultBundleCache;
+import org.apache.felix.framework.cache.BundleCache;
import org.apache.felix.framework.util.MutablePropertyResolverImpl;
import org.apache.felix.framework.util.StringMap;
@@ -61,16 +61,16 @@
public void start()
{
// See if the profile name property was specified.
- String profileName = configationProperties.getProperty( DefaultBundleCache.CACHE_PROFILE_PROP );
+ String profileName = configationProperties.getProperty( BundleCache.CACHE_PROFILE_PROP );
// See if the profile directory property was specified.
- String profileDirName = configationProperties.getProperty( DefaultBundleCache.CACHE_PROFILE_DIR_PROP );
+ String profileDirName = configationProperties.getProperty( BundleCache.CACHE_PROFILE_DIR_PROP );
// If no profile or profile directory is specified in the properties, then set the
// name to the default production mode profile name since this is not started from main()
if ( ( profileName == null ) && ( profileDirName == null ) )
{
- configationProperties.setProperty( DefaultBundleCache.CACHE_PROFILE_PROP, DEFAULT_PRODUCTION_PROFILE );
+ configationProperties.setProperty( BundleCache.CACHE_PROFILE_PROP, DEFAULT_PRODUCTION_PROFILE );
}
// start up the instance using the loaded and possibly altered configuration