public class Resolvers extends Object
ResolverSystem) into either use(Class) or
use(Class, ClassLoader).| Constructor and Description |
|---|
Resolvers() |
| Modifier and Type | Method and Description |
|---|---|
static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> |
configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz)
Returns a factory to create configured
ResolverSystem instances of the specified type. |
static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> |
configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
Returns a factory to create configured
ResolverSystem instances of the specified type. |
static <RESOLVERSYSTEMTYPE extends ResolverSystem> |
use(Class<RESOLVERSYSTEMTYPE> clazz)
Creates and returns a new instance of the specified view type.
|
static <RESOLVERSYSTEMTYPE extends ResolverSystem> |
use(Class<RESOLVERSYSTEMTYPE> clazz,
ClassLoader cl)
Creates and returns a new instance of the specified view type.
|
public static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> ConfiguredResolverSystemFactory<RESOLVERSYSTEMTYPE,CONFIGURABLERESOLVERSYSTEMTYPE> configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz) throws IllegalArgumentException
ResolverSystem instances of the specified type. New instances will
be created using the current Thread.getContextClassLoader().clazz - IllegalArgumentException - If the type is not specifiedpublic static <RESOLVERSYSTEMTYPE extends ResolverSystem,CONFIGURABLERESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<RESOLVERSYSTEMTYPE>> ConfiguredResolverSystemFactory<RESOLVERSYSTEMTYPE,CONFIGURABLERESOLVERSYSTEMTYPE> configure(Class<CONFIGURABLERESOLVERSYSTEMTYPE> clazz, ClassLoader cl) throws IllegalArgumentException
ResolverSystem instances of the specified type. New instances will
be created using the specified ClassLoader.clazz - cl - IllegalArgumentException - If the type or ClassLoader is not specifiedpublic static <RESOLVERSYSTEMTYPE extends ResolverSystem> RESOLVERSYSTEMTYPE use(Class<RESOLVERSYSTEMTYPE> clazz) throws IllegalArgumentException
clazz - IllegalArgumentExceptionpublic static <RESOLVERSYSTEMTYPE extends ResolverSystem> RESOLVERSYSTEMTYPE use(Class<RESOLVERSYSTEMTYPE> clazz, ClassLoader cl) throws IllegalArgumentException
clazz - IllegalArgumentException - If either argument is not suppliedCopyright © 2013 JBoss by Red Hat. All Rights Reserved.