[java-support] branch dev/JSPT-111 updated: Move LoggingService interface into java-support.

Scott Cantor cantor.2 at osu.edu
Mon May 2 14:49:41 UTC 2022


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

scantor pushed a commit to branch dev/JSPT-111
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=190941e1798f733b7f2d9724d089d69dd5785110

The following commit(s) were added to refs/heads/dev/JSPT-111 by this push:
     new 190941e  Move LoggingService interface into java-support.
190941e is described below

commit 190941e1798f733b7f2d9724d089d69dd5785110
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon May 2 10:49:39 2022 -0400

    Move LoggingService interface into java-support.
---
 .../java/support/service/LoggingService.java       | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/service/LoggingService.java b/src/main/java/net/shibboleth/utilities/java/support/service/LoggingService.java
new file mode 100644
index 0000000..1b161cd
--- /dev/null
+++ b/src/main/java/net/shibboleth/utilities/java/support/service/LoggingService.java
@@ -0,0 +1,36 @@
+/*
+ * 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.utilities.java.support.service;
+
+import javax.annotation.Nonnull;
+
+import net.shibboleth.utilities.java.support.resource.Resource;
+
+/**
+ * A logging configuration abstraction that piggybacks on the {@link ReloadableService} interface.
+ */
+public interface LoggingService extends ReloadableService<Object> {
+
+    /**
+     * Sets the logging configuration.
+     * 
+     * @param configuration logging configuration
+     */
+    void setLoggingConfiguration(@Nonnull final Resource configuration);
+
+}
\ No newline at end of file

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


More information about the commits mailing list