use of org.wildfly.extension.microprofile.config.smallrye.deployment.SubsystemDeploymentProcessor in project wildfly by wildfly.
the class MicroProfileConfigSubsystemAdd method performBoottime.
/**
* {@inheritDoc}
*/
@Override
public void performBoottime(OperationContext context, ModelNode operation, ModelNode model) {
MicroProfileConfigLogger.ROOT_LOGGER.activatingSubsystem();
context.addStep(new AbstractDeploymentChainStep() {
@Override
public void execute(DeploymentProcessorTarget processorTarget) {
processorTarget.addDeploymentProcessor(MicroProfileConfigExtension.SUBSYSTEM_NAME, Phase.DEPENDENCIES, Phase.DEPENDENCIES_MICROPROFILE_CONFIG, new DependencyProcessor());
processorTarget.addDeploymentProcessor(MicroProfileConfigExtension.SUBSYSTEM_NAME, Phase.POST_MODULE, Phase.POST_MODULE_MICROPROFILE_CONFIG, new SubsystemDeploymentProcessor());
}
}, OperationContext.Stage.RUNTIME);
}
Aggregations