[java-identity-provider] 01/02: IDP-1148 prepare: make beans lazy init

Rod Widdowson rdw at steadingsoftware.com
Tue Mar 21 06:30:43 EDT 2017


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=799becac200488488e6e9482a26a6a9f4f70590b

commit 799becac200488488e6e9482a26a6a9f4f70590b
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Mar 21 10:15:13 2017 +0000

    IDP-1148 prepare:  make beans lazy init
    
    https://issues.shibboleth.net/jira/browse/IDP-1148
    
    Make a couple or worker bean files lazy-init.  Not all beans are used in every test,
    and some take up cycles.  So lazy init them.
---
 .../resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml  | 2 +-
 .../net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml
index 7900aaa..80217a6 100644
--- a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml
+++ b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/beans.xml
@@ -6,7 +6,7 @@
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
                             http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
                             http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
-    default-init-method="initialize" default-destroy-method="destroy">
+    default-init-method="initialize" default-destroy-method="destroy" default-lazy-init="true">
 
     <context:property-placeholder
         location="classpath:/net/shibboleth/idp/profile/spring/relyingparty/file.properties" />
diff --git a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml
index aac4bd0..ef0390c 100644
--- a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml
+++ b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/beans.xml
@@ -7,7 +7,7 @@
                            http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
                            http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
 
-	default-init-method="initialize" default-destroy-method="destroy">
+	default-init-method="initialize" default-destroy-method="destroy" default-lazy-init="true">
 
 	<bean id="shibboleth.ParserPool"
 		class="net.shibboleth.utilities.java.support.xml.BasicParserPool"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list