[spring-extensions] 01/02: IDP-1376 Add a base custom parser
Rod Widdowson
rdw at steadingsoftware.com
Tue Feb 2 13:48:24 UTC 2021
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=98fdf3447b1a3520c2195e2ba8f706d32d59fe57
commit 98fdf3447b1a3520c2195e2ba8f706d32d59fe57
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Feb 2 11:01:48 2021 +0000
IDP-1376 Add a base custom parser
https://issues.shibboleth.net/jira/browse/IDP-1376
This allows us to make system wide changes to our custom
syntax parsing with low impact.
---
.../util/AbstractCustomBeanDefinitionParser.java | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/main/java/net/shibboleth/ext/spring/util/AbstractCustomBeanDefinitionParser.java b/src/main/java/net/shibboleth/ext/spring/util/AbstractCustomBeanDefinitionParser.java
new file mode 100644
index 0000000..e89f344
--- /dev/null
+++ b/src/main/java/net/shibboleth/ext/spring/util/AbstractCustomBeanDefinitionParser.java
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements. See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.shibboleth.ext.spring.util;
+
+import org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser;
+
+/**
+ * This is the base parser for all our custom syntax.
+ *
+ * It is a trivial extension of {@link AbstractCustomBeanDefinitionParser}, but allows
+ * for a single point of change to our behaviors.
+ */
+public class AbstractCustomBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
+
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list