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,org.wildfly.clustering.server.Registrar<org.jboss.msc.service.ServiceName>
public class SingletonPolicyResource
extends ComplexResource
implements org.wildfly.clustering.server.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.ResourceDelegateProviderNested 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.clustering.server.Registrationregister(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, requireChildMethods inherited from class org.jboss.as.controller.registry.DelegatingResource
getModel, getOrderedChildTypes, isModelDefined, isProxy, isRuntime, registerChild, registerChild, registerResourceProvider, removeChild, writeModelMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 org.wildfly.clustering.server.Registration register(org.jboss.msc.service.ServiceName service) - Specified by:
registerin interfaceorg.wildfly.clustering.server.Registrar<org.jboss.msc.service.ServiceName>
-