org.wildfly.extension.fabric.parser.FabricResolvers Maven / Gradle / Ivy
/*
* #%L
* Wildfly Gravia Subsystem
* %%
* Copyright (C) 2010 - 2013 JBoss by Red Hat
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 2.1 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
package org.wildfly.extension.fabric.parser;
import org.jboss.as.controller.descriptions.ResourceDescriptionResolver;
import org.jboss.as.controller.descriptions.StandardResourceDescriptionResolver;
/**
* @since 13-Nov-2013
*/
final class FabricResolvers {
static final String RESOURCE_NAME = FabricResolvers.class.getPackage().getName() + ".LocalDescriptions";
static ResourceDescriptionResolver getResolver(String keyPrefix) {
return new StandardResourceDescriptionResolver(keyPrefix, RESOURCE_NAME, SecurityActions.getClassLoader(FabricResolvers.class), true, true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy