FELIX-5064 Framework should provide service capabilities for registered services
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1706973 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/resources/default.properties b/framework/src/main/resources/default.properties
index fecc91b..e81a8d6 100644
--- a/framework/src/main/resources/default.properties
+++ b/framework/src/main/resources/default.properties
@@ -21,7 +21,7 @@
# New-style generic execution environment capabilities.
org.osgi.framework.system.capabilities= \
- ${dollar}{eecap-${dollar}{java.specification.version}}
+ ${dollar}{felix.service.caps}, ${dollar}{eecap-${dollar}{java.specification.version}}
# Native Processor Aliases. Format is felix.native.processor.alias.<normalized Processor Name>=alias1,alias2
felix.native.processor.alias.68k=
@@ -69,6 +69,10 @@
felix.native.osname.alias.windowsserver2008=windows server 2008,win32
felix.native.osname.alias.win32=
+felix.service.caps=osgi.service; objectClass:List<String>=org.osgi.service.resolver.Resolver; uses:=org.osgi.service.resolver, \
+ osgi.service; objectClass:List<String>=org.osgi.service.startlevel.StartLevel; uses:=org.osgi.service.startlevel, \
+ osgi.service; objectClass:List<String>=org.osgi.service.packageadmin.PackageAdmin; uses:=org.osgi.service.packageadmin
+
eecap-1.8= osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0,1.1,1.2", \
osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8", \
osgi.ee; osgi.ee="JavaSE/compact1"; version:List<Version>="1.8", \