protected boolean requiresRuntime(OperationContext context) {
        // TODO this check of 'subsystem' on a server is solely a workaround until a couple subclasses in full
        // can be modified to override the default behavior
        if (context.getProcessType().isServer() && context.getCurrentAddress().size() > 0 && SUBSYSTEM.equals(context.getCurrentAddress().getElement(0).getKey())) {
            return true;
        }
        return context.isDefaultRequiresRuntime();
    }
protected boolean requiresRuntime ( OperationContext context ) { if ( context . getProcessType ( ) . isServer ( ) && context . getCurrentAddress ( ) . size ( ) > 0 && SUBSYSTEM . equals ( context . getCurrentAddress ( ) . getElement ( 0 ) . getKey ( ) ) ) { return true ; } return context . isDefaultRequiresRuntime ( ) ; }
Gets whether the {@link org.jboss.as.controller.OperationContext.Stage#RUNTIME} step should be added to call
{@link #executeRuntimeStep(OperationContext, ModelNode)}.
This default implementation will return {@code true} for a normal server running in normal (non admin-only) mode.
If running on a host controller, it will return {@code true} if it is the active copy of the host controller subsystem.
Subclasses that perform no runtime update could override and return {@code false}. This method is
invoked during {@link org.jboss.as.controller.OperationContext.Stage#MODEL}.

@param context operation context
@return {@code true} if a step to invoke{@code executeRuntimeStep} should be added; {@code false} otherwise.

@see OperationContext#isDefaultRequiresRuntime()