Skip to content

Commit

Permalink
Merge pull request wildfly#18050 from lvydra/WFLY-19478
Browse files Browse the repository at this point in the history
[WFLY-19478] Remove usage of deprecated SimpleResourceDefinition methods
  • Loading branch information
bstansberry authored Jul 19, 2024
2 parents 900651d + 7e7dd78 commit 110706b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;

import org.jboss.as.controller.AbstractAddStepHandler;
import org.jboss.as.controller.AbstractWriteAttributeHandler;
import org.jboss.as.controller.AttributeDefinition;
import org.jboss.as.controller.ModelVersion;
Expand All @@ -26,6 +25,7 @@
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationDefinition;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.controller.OperationStepHandler;
import org.jboss.as.controller.PathElement;
import org.jboss.as.controller.ReloadRequiredWriteAttributeHandler;
import org.jboss.as.controller.SimpleAttributeDefinition;
Expand Down Expand Up @@ -370,7 +370,7 @@ public void registerOperations(ManagementResourceRegistration subsystemRegistrat
* {@inheritDoc}
*/
@Override
protected void registerAddOperation(ManagementResourceRegistration registration, AbstractAddStepHandler handler, OperationEntry.Flag... flags) {
protected void registerAddOperation(ManagementResourceRegistration registration, OperationStepHandler handler, OperationEntry.Flag... flags) {
OperationDefinition od = new SimpleOperationDefinitionBuilder(ADD, getResourceDescriptionResolver())
.setParameters(ATTRIBUTES)
.addParameter(DEFAULT_CLUSTERED_SFSB_CACHE)
Expand Down

0 comments on commit 110706b

Please sign in to comment.