[java-shib-shared] branch main updated: Javadoc clarification.

Scott Cantor cantor.2 at osu.edu
Wed Jun 14 17:17:22 UTC 2023


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

scantor pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=13ce163ee126d59aa14104c6386a17cef36e5eeb

The following commit(s) were added to refs/heads/main by this push:
     new 13ce163e Javadoc clarification.
13ce163e is described below

commit 13ce163ee126d59aa14104c6386a17cef36e5eeb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Jun 14 13:17:19 2023 -0400

    Javadoc clarification.
---
 .../shared/spring/util/ApplicationContextBuilder.java    | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/shib-spring/src/main/java/net/shibboleth/shared/spring/util/ApplicationContextBuilder.java b/shib-spring/src/main/java/net/shibboleth/shared/spring/util/ApplicationContextBuilder.java
index d37be319..e5cf5b33 100644
--- a/shib-spring/src/main/java/net/shibboleth/shared/spring/util/ApplicationContextBuilder.java
+++ b/shib-spring/src/main/java/net/shibboleth/shared/spring/util/ApplicationContextBuilder.java
@@ -226,6 +226,10 @@ public class ApplicationContextBuilder {
     /**
      * Set a single bean factory post processor for this context.
      * 
+     * <p>Note that if this object is {@link ApplicationContextAware} or {@link EnvironmentAware},
+     * that is injected by the builder. Do NOT pass in processors that already contain references to
+     * a parent context.</p>
+     * 
      * @param processor bean factory post processor to apply
      * 
      * @return this builder
@@ -243,6 +247,10 @@ public class ApplicationContextBuilder {
     /**
      * Set the list of bean factory post processors for this context.
      * 
+     * <p>Note that if these objects are {@link ApplicationContextAware} or {@link EnvironmentAware},
+     * that is injected by the builder. Do NOT pass in processors that already contain references to
+     * a parent context.</p>
+     * 
      * @param processors bean factory post processors to apply
      * 
      * @return this builder
@@ -259,6 +267,10 @@ public class ApplicationContextBuilder {
     /**
      * Set a single bean post processor for this context.
      * 
+     * <p>Note that if this object is {@link ApplicationContextAware} or {@link EnvironmentAware},
+     * that is injected by the builder. Do NOT pass in processors that already contain references to
+     * a parent context.</p>
+     * 
      * @param processor bean post processor to apply
      * 
      * @return this builder
@@ -274,6 +286,10 @@ public class ApplicationContextBuilder {
     /**
      * Set the list of bean post processors for this context.
      * 
+     * <p>Note that if these objects are {@link ApplicationContextAware} or {@link EnvironmentAware},
+     * that is injected by the builder. Do NOT pass in processors that already contain references to
+     * a parent context.</p>
+     * 
      * @param processors bean post processors to apply
      * 
      * @return this builder

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


More information about the commits mailing list