Class SingletonPolicyResource

java.lang.Object
org.jboss.as.controller.registry.ResourceProvider.ResourceProviderRegistry
org.jboss.as.controller.registry.DelegatingResource
org.jboss.as.clustering.controller.ComplexResource
org.wildfly.extension.clustering.singleton.SingletonPolicyResource
All Implemented Interfaces:
Cloneable, Function<String,ChildResourceProvider>, org.jboss.as.controller.registry.Resource, Registrar<org.jboss.msc.service.ServiceName>

public class SingletonPolicyResource extends ComplexResource implements Registrar<org.jboss.msc.service.ServiceName>
Custom resource that additionally reports runtime singleton deployments and services.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.jboss.as.controller.registry.DelegatingResource

    org.jboss.as.controller.registry.DelegatingResource.ResourceDelegateProvider

    Nested classes/interfaces inherited from interface org.jboss.as.controller.registry.Resource

    org.jboss.as.controller.registry.Resource.Factory, org.jboss.as.controller.registry.Resource.NoSuchResourceException, org.jboss.as.controller.registry.Resource.ResourceEntry, org.jboss.as.controller.registry.Resource.Tools
  • Constructor Summary

    Constructors
    Constructor
    Description
    SingletonPolicyResource(org.jboss.as.controller.registry.Resource resource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    register(org.jboss.msc.service.ServiceName service)
     

    Methods inherited from class org.jboss.as.clustering.controller.ComplexResource

    apply, clone, getChild, getChildren, getChildrenNames, getChildTypes, hasChild, hasChildren, navigate, requireChild

    Methods inherited from class org.jboss.as.controller.registry.DelegatingResource

    getModel, getOrderedChildTypes, isModelDefined, isProxy, isRuntime, registerChild, registerChild, registerResourceProvider, removeChild, writeModel

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface org.jboss.as.controller.registry.Resource

    shallowCopy
  • Constructor Details

    • SingletonPolicyResource

      public SingletonPolicyResource(org.jboss.as.controller.registry.Resource resource)
  • Method Details

    • register

      public Registration register(org.jboss.msc.service.ServiceName service)
      Specified by:
      register in interface Registrar<org.jboss.msc.service.ServiceName>