Skip to content

Commit

Permalink
[WFLY-19478] Remove usage of deprecated SimpleResourceDefinition methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lvydra committed Jul 19, 2024
1 parent 2dfbba9 commit 7e7dd78
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 7e7dd78

Please sign in to comment.