org.jboss.as.clustering.controller.ChildResourceDefinition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-common Show documentation
Show all versions of wildfly-clustering-common Show documentation
The code in this module is not explicitly related to clustering, but rather contains resuable code used by clustering modules
and any modules that integrate with clustering.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.jboss.as.clustering.controller;
import org.jboss.as.controller.PathElement;
import org.jboss.as.controller.descriptions.ResourceDescriptionResolver;
import org.jboss.as.controller.registry.ManagementResourceRegistration;
/**
* Resource definition for child resources that performs all registration via {@link ManagementRegistrar#register(Object)}.
* @author Paul Ferraro
*/
public abstract class ChildResourceDefinition extends AbstractResourceDefinition implements ChildResourceRegistrar {
protected ChildResourceDefinition(PathElement path, ResourceDescriptionResolver resolver) {
super(new Parameters(path, resolver));
}
protected ChildResourceDefinition(Parameters parameters) {
super(parameters);
}
}