Class SingletonDeploymentProcessor

java.lang.Object
org.wildfly.extension.clustering.singleton.deployment.SingletonDeploymentProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor, org.jboss.msc.service.LifecycleListener

public class SingletonDeploymentProcessor extends Object implements org.jboss.as.server.deployment.DeploymentUnitProcessor, org.jboss.msc.service.LifecycleListener
DUP that attaches the singleton DeploymentUnitPhaseBuilder if a deployment policy is attached.
Author:
Paul Ferraro
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.jboss.as.server.deployment.AttachmentKey<SingletonPolicy>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deploy(org.jboss.as.server.deployment.DeploymentPhaseContext context)
     
    void
    handleEvent(org.jboss.msc.service.ServiceController<?> controller, org.jboss.msc.service.LifecycleEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor

    undeploy
  • Field Details

    • POLICY_KEY

      public static final org.jboss.as.server.deployment.AttachmentKey<SingletonPolicy> POLICY_KEY
  • Constructor Details

    • SingletonDeploymentProcessor

      public SingletonDeploymentProcessor()
  • Method Details

    • deploy

      public void deploy(org.jboss.as.server.deployment.DeploymentPhaseContext context) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Specified by:
      deploy in interface org.jboss.as.server.deployment.DeploymentUnitProcessor
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • handleEvent

      public void handleEvent(org.jboss.msc.service.ServiceController<?> controller, org.jboss.msc.service.LifecycleEvent event)
      Specified by:
      handleEvent in interface org.jboss.msc.service.LifecycleListener