use of org.jboss.as.clustering.controller.SimpleResourceRegistration in project wildfly by wildfly.
the class NoTransportResourceDefinition method register.
@Override
public void register(ManagementResourceRegistration parentRegistration) {
ManagementResourceRegistration registration = parentRegistration.registerSubModel(this);
ResourceDescriptor descriptor = new ResourceDescriptor(this.getResourceDescriptionResolver()).addCapabilities(CLUSTERING_CAPABILITIES.values());
ResourceServiceHandler handler = new NoTransportServiceHandler();
new SimpleResourceRegistration(descriptor, handler).register(registration);
}
Aggregations