|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.bootstrap.spi.factory.ServerFactory
public class ServerFactory
ServerFactory
Factory of generic Server
implementations
Method Summary | |
---|---|
static Server<?,?> |
createServer(String implClassName)
Creates a Server from the specified implementation class name, using the Thread Context ClassLoader. |
static Server<?,?> |
createServer(String implClassName,
ClassLoader cl)
Creates a Server 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 Server<?,?> createServer(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 Server
Exception
- If some error occurred in constructing the Serverpublic static Server<?,?> createServer(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 Server
.
Exception
- If some error occurred in constructing the Server
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |