Search in sources :

Example 1 with SimpleChildResourceProvider

use of org.jboss.as.clustering.controller.SimpleChildResourceProvider in project wildfly by wildfly.

the class SingletonPolicyResource method createProviders.

private static Map<String, ChildResourceProvider> createProviders() {
    Map<String, ChildResourceProvider> providers = new HashMap<>();
    providers.put(DEPLOYMENT_CHILD_TYPE, new SimpleChildResourceProvider(ConcurrentHashMap.newKeySet()));
    providers.put(SERVICE_CHILD_TYPE, new SimpleChildResourceProvider(ConcurrentHashMap.newKeySet()));
    return Collections.unmodifiableMap(providers);
}
Also used : ChildResourceProvider(org.jboss.as.clustering.controller.ChildResourceProvider) SimpleChildResourceProvider(org.jboss.as.clustering.controller.SimpleChildResourceProvider) ConcurrentHashMap(java.util.concurrent.ConcurrentHashMap) HashMap(java.util.HashMap) SimpleChildResourceProvider(org.jboss.as.clustering.controller.SimpleChildResourceProvider)

Aggregations

HashMap (java.util.HashMap)1 ConcurrentHashMap (java.util.concurrent.ConcurrentHashMap)1 ChildResourceProvider (org.jboss.as.clustering.controller.ChildResourceProvider)1 SimpleChildResourceProvider (org.jboss.as.clustering.controller.SimpleChildResourceProvider)1