You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/10/07 10:20:08 UTC
svn commit: r702381 - in /geronimo/gshell/trunk:
gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml
gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml
Author: jdillon
Date: Tue Oct 7 01:20:07 2008
New Revision: 702381
URL: http://svn.apache.org/viewvc?rev=702381&view=rev
Log:
Add lazy-init to delay some of this stuffs loading
Modified:
geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml
geronimo/gshell/trunk/gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml
Modified: geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml?rev=702381&r1=702380&r2=702381&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml (original)
+++ geronimo/gshell/trunk/gshell-remote/gshell-remote-server/src/main/resources/META-INF/spring/components.xml Tue Oct 7 01:20:07 2008
@@ -25,7 +25,7 @@
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
- <bean id="timeoutManager" class="org.apache.geronimo.gshell.remote.server.timeout.TimeoutManagerImpl"/>
+ <bean id="timeoutManager" class="org.apache.geronimo.gshell.remote.server.timeout.TimeoutManagerImpl" lazy-init="true"/>
<bean id="rshServer" class="org.apache.geronimo.gshell.remote.server.RshServer" scope="prototype">
<constructor-arg>
Modified: geronimo/gshell/trunk/gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml?rev=702381&r1=702380&r2=702381&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml (original)
+++ geronimo/gshell/trunk/gshell-support/gshell-security/src/main/resources/META-INF/spring/components.xml Tue Oct 7 01:20:07 2008
@@ -25,20 +25,20 @@
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
- <bean id="cryptoContext" class="org.apache.geronimo.gshell.security.crypto.CryptoContextImpl">
+ <bean id="cryptoContext" class="org.apache.geronimo.gshell.security.crypto.CryptoContextImpl" lazy-init="true">
<property name="transformation" value="RSA"/>
<property name="provider" value="default"/>
</bean>
- <bean id="securityManager" class="org.jsecurity.mgt.DefaultSecurityManager">
+ <bean id="securityManager" class="org.jsecurity.mgt.DefaultSecurityManager" lazy-init="true">
<property name="realms">
<list>
- <ref bean="bogusRealm"/>
+ <ref bean="bogusRealm"/>
</list>
</property>
</bean>
- <bean id="bogusRealm" class="org.jsecurity.realm.text.TextConfigurationRealm">
+ <bean id="bogusRealm" class="org.jsecurity.realm.text.TextConfigurationRealm" lazy-init="true">
<property name="userDefinitions">
<value>
test=test