org.nuiton.util
Class ApplicationConfigHelper

java.lang.Object
  extended by org.nuiton.util.ApplicationConfigHelper

public class ApplicationConfigHelper
extends Object

Helper about ApplicationConfig.

Since:
2.4.8
Author:
tchemit

Constructor Summary
protected ApplicationConfigHelper()
           
 
Method Summary
static ApplicationConfigProvider getProvider(ClassLoader classLoader, String name)
           
static Set<ApplicationConfigProvider> getProviders(ClassLoader classLoader, Set<String> includes, Set<String> excludes, boolean verbose)
          Obtain all providers on class-path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationConfigHelper

protected ApplicationConfigHelper()
Method Detail

getProviders

public static Set<ApplicationConfigProvider> getProviders(ClassLoader classLoader,
                                                          Set<String> includes,
                                                          Set<String> excludes,
                                                          boolean verbose)
Obtain all providers on class-path.

Parameters:
classLoader - optional classLoader used to seek for providers
includes - optional includes providers to use (if none then accept all providers)
excludes - optional excludes providers (if none the no reject)
verbose - verbose flag
Returns:
sets of providers

getProvider

public static ApplicationConfigProvider getProvider(ClassLoader classLoader,
                                                    String name)


Copyright © 2004-2012 CodeLutin. All Rights Reserved.