protected void addDeploymentProcessors(final DeploymentProcessorTarget processorTarget) {

    processorTarget.addDeploymentProcessor(
        Phase.DEPENDENCIES, 1, new DaemonsDependenciesProcessor());

    processorTarget.addDeploymentProcessor(Phase.POST_MODULE, 200, new DaemonizerInstaller());
  }
  protected void addDeploymentProcessors(
      final DeploymentProcessorTarget processorTarget, ServiceTarget globalTarget) {

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.PARSE,
        10,
        rootSafe(new BackgroundablePresetsProcessor()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME, Phase.PARSE, 11, new QueuesYamlParsingProcessor());
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME, Phase.PARSE, 12, new TopicsYamlParsingProcessor());
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.PARSE,
        35,
        rootSafe(new MessagingYamlParsingProcessor()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.PARSE,
        40,
        rootSafe(new TasksYamlParsingProcessor()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME, Phase.PARSE, 41, rootSafe(new TasksScanningProcessor()));

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.DEPENDENCIES,
        3,
        rootSafe(new MessagingDependenciesProcessor()));

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.CONFIGURE_MODULE,
        0,
        rootSafe(new MessagingLoadPathProcessor()));

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.POST_MODULE,
        11,
        rootSafe(new ApplicationNamingContextBindingProcessor()));

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME, Phase.POST_MODULE, 220, rootSafe(new TasksInstaller()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.POST_MODULE,
        320,
        rootSafe(new MessagingRuntimePoolProcessor()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.POST_MODULE,
        420,
        new DestinationizerInstaller(globalTarget));

    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.INSTALL,
        120,
        rootSafe(new MessageProcessorComponentResolverInstaller()));
    processorTarget.addDeploymentProcessor(
        MessagingExtension.SUBSYSTEM_NAME,
        Phase.INSTALL,
        220,
        rootSafe(new MessageProcessorInstaller()));
  }