Yes, it has to be ```RUNTIME_ONLY``` if it's a domain server, https://github.com/wildfly/wildfly/blob/master/controller/src/main/java/org/jboss/as/controller/operations/global/ReadOperationDescriptionHandler.java#L86.