Class SingletonSubsystemResourceDefinitionRegistrar

java.lang.Object
org.wildfly.extension.clustering.singleton.SingletonSubsystemResourceDefinitionRegistrar
All Implemented Interfaces:
Consumer<org.jboss.as.server.DeploymentProcessorTarget>, org.wildfly.subsystem.resource.ResourceDefinitionRegistrar<org.jboss.as.controller.SubsystemRegistration>, org.wildfly.subsystem.resource.SubsystemResourceDefinitionRegistrar, org.wildfly.subsystem.service.ResourceServiceConfigurator

public class SingletonSubsystemResourceDefinitionRegistrar extends Object implements org.wildfly.subsystem.resource.SubsystemResourceDefinitionRegistrar, org.wildfly.subsystem.service.ResourceServiceConfigurator, Consumer<org.jboss.as.server.DeploymentProcessorTarget>
Registers a resource definition for the singleton subsystem.
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.jboss.as.server.DeploymentProcessorTarget target)
     
    org.wildfly.subsystem.service.ResourceServiceInstaller
    configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model)
     
    org.jboss.as.controller.registry.ManagementResourceRegistration
    register(org.jboss.as.controller.SubsystemRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.function.Consumer

    andThen
  • Constructor Details

    • SingletonSubsystemResourceDefinitionRegistrar

      public SingletonSubsystemResourceDefinitionRegistrar()
  • Method Details

    • register

      public org.jboss.as.controller.registry.ManagementResourceRegistration register(org.jboss.as.controller.SubsystemRegistration parent, org.wildfly.subsystem.resource.ManagementResourceRegistrationContext context)
      Specified by:
      register in interface org.wildfly.subsystem.resource.ResourceDefinitionRegistrar<org.jboss.as.controller.SubsystemRegistration>
    • accept

      public void accept(org.jboss.as.server.DeploymentProcessorTarget target)
      Specified by:
      accept in interface Consumer<org.jboss.as.server.DeploymentProcessorTarget>
    • configure

      public org.wildfly.subsystem.service.ResourceServiceInstaller configure(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
      Specified by:
      configure in interface org.wildfly.subsystem.service.ResourceServiceConfigurator
      Throws:
      org.jboss.as.controller.OperationFailedException