From c365c9702aa94d8e91fbfe1ee29384aa4cb2e81c Mon Sep 17 00:00:00 2001 From: Paul Ferraro Date: Wed, 20 Dec 2023 15:12:48 -0500 Subject: [PATCH] Define interface methods before static methods (for clarity). --- .../service/ResourceServiceInstaller.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/subsystem/src/main/java/org/wildfly/subsystem/service/ResourceServiceInstaller.java b/subsystem/src/main/java/org/wildfly/subsystem/service/ResourceServiceInstaller.java index 7e6b552e370..85ba36cd674 100644 --- a/subsystem/src/main/java/org/wildfly/subsystem/service/ResourceServiceInstaller.java +++ b/subsystem/src/main/java/org/wildfly/subsystem/service/ResourceServiceInstaller.java @@ -17,6 +17,13 @@ */ public interface ResourceServiceInstaller { + /** + * Installs a service into the target associated with the specified operation context. + * @param context an operation context + * @return a mechanism to remove the installed service + */ + Consumer install(OperationContext context); + /** * Returns a composite {@link ResourceServiceInstaller} that installs the specified installers. * @param installers a variable number of installers @@ -50,11 +57,4 @@ public void accept(OperationContext context) { } }; } - - /** - * Installs a service into the target associated with the specified operation context. - * @param context an operation context - * @return a mechanism to remove the installed service - */ - Consumer install(OperationContext context); }