|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.bootstrap.spi.factory.ServerConfigFactory
public class ServerConfigFactory
ServerConfigFactory
Factory of generic ServerConfig
implementations
Method Summary | |
---|---|
static ServerConfig<?> |
createServerConfig(String implClassName)
Creates a ServerConfig from the specified implementation class name, using the Thread Context ClassLoader. |
static ServerConfig<?> |
createServerConfig(String implClassName,
ClassLoader cl)
Creates a ServerConfig from the specified implementation class name, using the specified ClassLoader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServerConfig<?> createServerConfig(String implClassName) throws IllegalArgumentException, Exception
implClassName
- The fully-qualified name of the implementation class
IllegalArgumentException
- If the implementation class name is null, blank,
can not be found on the ClassLoader, or is not assignable to ServerConfig
Exception
- If some error occurred in constructing the configpublic static ServerConfig<?> createServerConfig(String implClassName, ClassLoader cl) throws IllegalArgumentException, Exception
implClassName
- The fully-qualified name of the implementation classcl
- The ClassLoader to use
IllegalArgumentException
- If the ClassLoader is null, implementation class
name is null, blank, can not be found on the ClassLoader,
or is not assignable to ServerConfig
.
Exception
- If some error occurred in constructing the config
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |