Fix karaf wrt latest blueprint schema
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@790473 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/karaf/deployer/blueprint/src/test/resources/test.xml b/karaf/deployer/blueprint/src/test/resources/test.xml
index 14322c1..7e47cc7 100644
--- a/karaf/deployer/blueprint/src/test/resources/test.xml
+++ b/karaf/deployer/blueprint/src/test/resources/test.xml
@@ -59,9 +59,9 @@
<bean id="bindingListener" class="org.apache.geronimo.blueprint.sample.BindingListener"/>
- <ref-list id="ref-list" interface="org.apache.geronimo.blueprint.sample.InterfaceA">
+ <reference-list id="ref-list" interface="org.apache.geronimo.blueprint.sample.InterfaceA">
<reference-listener bind-method="bind" unbind-method="unbind" ref="listBindingListener" />
- </ref-list>
+ </reference-list>
<bean id="listBindingListener" class="org.apache.geronimo.blueprint.sample.BindingListener"/>
diff --git a/karaf/deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml b/karaf/deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml
index a20d905..08d5a96 100644
--- a/karaf/deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml
+++ b/karaf/deployer/features/src/main/resources/OSGI-INF/blueprint/features-deployer.xml
@@ -24,7 +24,7 @@
ref="featureDeploymentListener"/>
<bean id="featureDeploymentListener" class="org.apache.felix.karaf.deployer.features.FeatureDeploymentListener"
- init-method="init" destroy-method="destroy" initialization="lazy">
+ init-method="init" destroy-method="destroy" activation="lazy">
<property name="bundleContext" ref="blueprintBundleContext"/>
<property name="featuresService">
<reference interface="org.apache.felix.karaf.gshell.features.FeaturesService"/>
diff --git a/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell-osgi.xml b/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell-osgi.xml
index fa207ca..7237d29 100644
--- a/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell-osgi.xml
+++ b/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell-osgi.xml
@@ -37,17 +37,17 @@
<argument ref="aliasRegistry"/>
</bean>
- <ref-list id="osgiCommands" interface="org.apache.geronimo.gshell.command.Command">
+ <reference-list id="osgiCommands" interface="org.apache.geronimo.gshell.command.Command">
<reference-listener ref="osgiCommandRegistry" bind-method="register" unbind-method="unregister"/>
- </ref-list>
+ </reference-list>
- <ref-list id="osgiLinkCommands" interface="org.apache.geronimo.gshell.command.Link">
+ <reference-list id="osgiLinkCommands" interface="org.apache.geronimo.gshell.command.Link">
<reference-listener ref="osgiCommandRegistry" bind-method="register" unbind-method="unregister"/>
- </ref-list>
+ </reference-list>
- <ref-list id="osgiAliases" interface="org.apache.geronimo.gshell.command.Alias">
+ <reference-list id="osgiAliases" interface="org.apache.geronimo.gshell.command.Alias">
<reference-listener ref="osgiAliasRegistry" bind-method="register" unbind-method="unregister"/>
- </ref-list>
+ </reference-list>
<service ref="localShell" interface="org.apache.geronimo.gshell.shell.Shell"/>
diff --git a/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell.xml b/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell.xml
index 8c14f60..e85c82c 100644
--- a/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell.xml
+++ b/karaf/gshell/gshell-run/src/main/resources/OSGI-INF/blueprint/gshell.xml
@@ -19,15 +19,19 @@
-->
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
- <bean id="io" class="org.apache.geronimo.gshell.io.IO">
+ <bean id="io"
+ class="org.apache.geronimo.gshell.io.IO">
<property name="verbosity" value="DEBUG"/>
</bean>
- <bean id="branding" class="org.apache.felix.karaf.gshell.core.DefaultBranding">
+ <bean id="branding"
+ class="org.apache.felix.karaf.gshell.core.DefaultBranding">
<property name="prompt" value="@|bold %{gshell.username}|@%{application.id}:@|bold %{gshell.group}|> " />
</bean>
- <bean id="application" class="org.apache.felix.karaf.gshell.core.ApplicationImpl" init-method="init">
+ <bean id="application"
+ class="org.apache.felix.karaf.gshell.core.ApplicationImpl"
+ init-method="init">
<property name="id" value="$[karaf.name]"/>
<property name="io" ref="io"/>
<property name="model">
@@ -40,45 +44,59 @@
</property>
</bean>
- <bean id="beanContainer" class="org.apache.felix.karaf.gshell.core.BeanContainerWrapper">
+ <bean id="beanContainer"
+ class="org.apache.felix.karaf.gshell.core.BeanContainerWrapper">
<argument ref="blueprintContainer"/>
</bean>
- <bean id="eventManager" class="org.apache.geronimo.gshell.event.EventManagerImpl"/>
+ <bean id="eventManager"
+ class="org.apache.geronimo.gshell.event.EventManagerImpl"/>
- <bean id="applicationManager" class="org.apache.felix.karaf.gshell.core.ApplicationManagerImpl" init-method="init" destroy-method="destroy">
+ <bean id="applicationManager"
+ class="org.apache.felix.karaf.gshell.core.ApplicationManagerImpl"
+ init-method="init"
+ destroy-method="destroy">
<argument ref="eventManager" />
<argument ref="application" />
<argument ref="blueprintContainer"/>
</bean>
- <bean id="commandLineParser" class="org.apache.geronimo.gshell.parser.CommandLineParser"/>
+ <bean id="commandLineParser"
+ class="org.apache.geronimo.gshell.parser.CommandLineParser"/>
- <bean id="aliasRegistry" class="org.apache.geronimo.gshell.wisdom.registry.AliasRegistryImpl">
+ <bean id="aliasRegistry"
+ class="org.apache.geronimo.gshell.wisdom.registry.AliasRegistryImpl">
<argument ref="eventManager"/>
</bean>
- <bean id="aliasMetaMapper" class="org.apache.geronimo.gshell.wisdom.registry.AliasMetaMapper" init-method="init">
+ <bean id="aliasMetaMapper"
+ class="org.apache.geronimo.gshell.wisdom.registry.AliasMetaMapper"
+ init-method="init">
<argument ref="eventManager"/>
<argument ref="metaDataRegistry"/>
<argument ref="aliasRegistry"/>
</bean>
- <bean id="commandRegistry" class="org.apache.geronimo.gshell.wisdom.registry.CommandRegistryImpl">
+ <bean id="commandRegistry"
+ class="org.apache.geronimo.gshell.wisdom.registry.CommandRegistryImpl">
<argument ref="eventManager"/>
</bean>
- <bean id="commandMetaMapper" class="org.apache.geronimo.gshell.wisdom.registry.CommandMetaMapper" init-method="init">
+ <bean id="commandMetaMapper"
+ class="org.apache.geronimo.gshell.wisdom.registry.CommandMetaMapper"
+ init-method="init">
<argument ref="eventManager"/>
<argument ref="metaDataRegistry"/>
<argument ref="commandRegistry"/>
</bean>
- <bean id="groupDirResolver" class="org.apache.geronimo.gshell.wisdom.registry.GroupDirectoryResolver">
+ <bean id="groupDirResolver"
+ class="org.apache.geronimo.gshell.wisdom.registry.GroupDirectoryResolver">
<argument ref="fileSystemAccess"/>
</bean>
- <bean id="commandResolver" class="org.apache.felix.karaf.gshell.core.CommandResolverImpl">
+ <bean id="commandResolver"
+ class="org.apache.felix.karaf.gshell.core.CommandResolverImpl">
<argument ref="fileSystemAccess"/>
<argument ref="groupDirResolver"/>
<property name="beanContainer" ref="beanContainer"/>
@@ -90,12 +108,16 @@
</property>
</bean>
- <bean id="aliasCommandPrototype" class="org.apache.felix.karaf.gshell.core.WorkAroundAliasCommand" scope="prototype">
+ <bean id="aliasCommandPrototype"
+ class="org.apache.felix.karaf.gshell.core.WorkAroundAliasCommand"
+ scope="prototype">
<argument ref="commandLineExecutor"/>
<property name="beanContainer" ref="beanContainer"/>
</bean>
- <bean id="groupCommandPrototype" class="org.apache.geronimo.gshell.wisdom.command.GroupCommand" scope="prototype">
+ <bean id="groupCommandPrototype"
+ class="org.apache.geronimo.gshell.wisdom.command.GroupCommand"
+ scope="prototype">
<property name="beanContainer" ref="beanContainer"/>
</bean>
@@ -103,12 +125,16 @@
<argument ref="commandLineParser"/>
</bean>
- <bean id="commandLineExecutor" class="org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl">
+ <bean id="commandLineExecutor"
+ class="org.apache.geronimo.gshell.wisdom.shell.CommandLineExecutorImpl">
<argument ref="commandResolver"/>
<argument ref="commandLineBuilder"/>
</bean>
- <bean id="shell" class="org.apache.geronimo.gshell.wisdom.shell.ShellImpl" scope="prototype" init-method="init" destroy-method="close">
+ <bean id="shell"
+ class="org.apache.geronimo.gshell.wisdom.shell.ShellImpl"
+ scope="prototype"
+ init-method="init">
<argument ref="application"/>
<argument ref="commandLineExecutor"/>
@@ -133,24 +159,33 @@
</property>
</bean>
- <bean id="commandNameCompleter" class="org.apache.geronimo.gshell.wisdom.completer.CommandNameCompleter"
- initialization="lazy" init-method="init">
+ <bean id="commandNameCompleter"
+ class="org.apache.geronimo.gshell.wisdom.completer.CommandNameCompleter"
+ activation="lazy"
+ init-method="init">
<argument ref="eventManager"/>
<argument ref="commandRegistry"/>
</bean>
- <bean id="aliasNameCompleter" class="org.apache.geronimo.gshell.wisdom.completer.AliasNameCompleter"
- initialization="lazy" init-method="init">
+ <bean id="aliasNameCompleter"
+ class="org.apache.geronimo.gshell.wisdom.completer.AliasNameCompleter"
+ activation="lazy"
+ init-method="init">
<argument ref="eventManager"/>
<argument ref="aliasRegistry"/>
</bean>
- <bean id="commandsCompleter" class="org.apache.geronimo.gshell.wisdom.completer.CommandsCompleter" initialization="lazy" init-method="init">
+ <bean id="commandsCompleter"
+ class="org.apache.geronimo.gshell.wisdom.completer.CommandsCompleter"
+ activation="lazy"
+ init-method="init">
<argument ref="eventManager"/>
<argument ref="commandRegistry"/>
</bean>
- <bean id="variableNameCompleter" class="org.apache.geronimo.gshell.wisdom.completer.VariableNameCompleter" initialization="lazy">
+ <bean id="variableNameCompleter"
+ class="org.apache.geronimo.gshell.wisdom.completer.VariableNameCompleter"
+ activation="lazy">
</bean>
</blueprint>
\ No newline at end of file
diff --git a/karaf/jaas/jaas-config/src/main/resources/OSGI-INF/blueprint/karaf-jaas.xml b/karaf/jaas/jaas-config/src/main/resources/OSGI-INF/blueprint/karaf-jaas.xml
index 2bf36fc..ac7f38a 100644
--- a/karaf/jaas/jaas-config/src/main/resources/OSGI-INF/blueprint/karaf-jaas.xml
+++ b/karaf/jaas/jaas-config/src/main/resources/OSGI-INF/blueprint/karaf-jaas.xml
@@ -24,11 +24,11 @@
init-method="init"
destroy-method="close"/>
- <ref-list id="realms"
- interface="org.apache.felix.karaf.jaas.config.JaasRealm"
- availability="optional">
+ <reference-list id="realms"
+ interface="org.apache.felix.karaf.jaas.config.JaasRealm"
+ availability="optional">
<reference-listener ref="config" bind-method="register" unbind-method="unregister" />
- </ref-list>
+ </reference-list>
<bean id="proxyLoginModuleInitializer" class="org.apache.felix.karaf.jaas.config.impl.ProxyLoginModuleInitializer" init-method="init">
<property name="bundleContext" ref="blueprintBundleContext"/>
@@ -38,11 +38,11 @@
<bean id="keystoreManager" class="org.apache.felix.karaf.jaas.config.impl.OsgiKeystoreManager" />
<service ref="keystoreManager" interface="org.apache.felix.karaf.jaas.config.KeystoreManager" />
- <ref-list id="keystores"
- interface="org.apache.felix.karaf.jaas.config.KeystoreInstance"
- availability="optional">
+ <reference-list id="keystores"
+ interface="org.apache.felix.karaf.jaas.config.KeystoreInstance"
+ availability="optional">
<reference-listener ref="keystoreManager" bind-method="register" unbind-method="unregister" />
- </ref-list>
+ </reference-list>
<service interface="org.apache.geronimo.blueprint.NamespaceHandler">
<service-properties>