Search in sources :

Example 1 with FederationDependencyProcessor

use of org.wildfly.extension.picketlink.federation.deployment.FederationDependencyProcessor in project wildfly by wildfly.

the class FederationSubsystemAdd method performBoottime.

@Override
public void performBoottime(OperationContext context, ModelNode operation, ModelNode model, ServiceVerificationHandler verificationHandler, List<ServiceController<?>> controllers) throws OperationFailedException {
    PicketLinkLogger.ROOT_LOGGER.activatingSubsystem("Federation");
    context.addStep(new AbstractDeploymentChainStep() {

        @Override
        public void execute(DeploymentProcessorTarget processorTarget) {
            PicketLinkLogger.ROOT_LOGGER.trace("Installing the PicketLink Defederation Dependency Processor.");
            processorTarget.addDeploymentProcessor(FederationExtension.SUBSYSTEM_NAME, FederationDependencyProcessor.PHASE, FederationDependencyProcessor.PRIORITY, new FederationDependencyProcessor());
            PicketLinkLogger.ROOT_LOGGER.trace("Installing the PicketLink Federation Deployment Processor.");
            processorTarget.addDeploymentProcessor(FederationExtension.SUBSYSTEM_NAME, FederationDeploymentProcessor.PHASE, FederationDeploymentProcessor.PRIORITY, new FederationDeploymentProcessor());
        }
    }, OperationContext.Stage.RUNTIME);
}
Also used : DeploymentProcessorTarget(org.jboss.as.server.DeploymentProcessorTarget) AbstractDeploymentChainStep(org.jboss.as.server.AbstractDeploymentChainStep) FederationDeploymentProcessor(org.wildfly.extension.picketlink.federation.deployment.FederationDeploymentProcessor) FederationDependencyProcessor(org.wildfly.extension.picketlink.federation.deployment.FederationDependencyProcessor)

Aggregations

AbstractDeploymentChainStep (org.jboss.as.server.AbstractDeploymentChainStep)1 DeploymentProcessorTarget (org.jboss.as.server.DeploymentProcessorTarget)1 FederationDependencyProcessor (org.wildfly.extension.picketlink.federation.deployment.FederationDependencyProcessor)1 FederationDeploymentProcessor (org.wildfly.extension.picketlink.federation.deployment.FederationDeploymentProcessor)1