|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.bootstrap.spi.mc.server.MCServerFactory
public class MCServerFactory
MCServerFactory
Factory of MCServer implementations
| Field Summary | |
|---|---|
static String |
DEFAULT_MC_SERVER_IMPL_CLASS_NAME
The FQN of the default server implementation class to create |
| Method Summary | |
|---|---|
static MCServer |
createServer()
Creates an MCServer from the default implementation class name DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
Thread Context ClassLoader. |
static MCServer |
createServer(ClassLoader cl)
Creates an MCServer from the default implementation class name DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
specified ClassLoader. |
static MCServer |
createServer(String implClassName,
ClassLoader cl)
Creates an MCServer from the specified implementation class name using the specified ClassLoader. |
static MCServer |
createServerWithDefaultConfiguration()
Creates an MCServer from the default implementation class name DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
Thread Context ClassLoader. |
static MCServer |
createServerWithDefaultConfiguration(ClassLoader cl)
Creates an MCServer from the default implementation class name DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
specified ClassLoader. |
static MCServer |
createServerWithDefaultConfiguration(String implClassName,
ClassLoader cl)
Creates an MCServer 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 |
| Field Detail |
|---|
public static final String DEFAULT_MC_SERVER_IMPL_CLASS_NAME
| Method Detail |
|---|
public static MCServer createServer()
DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
Thread Context ClassLoader. The returned server will additionally be created using
the TCCL.
public static MCServer createServerWithDefaultConfiguration()
DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
Thread Context ClassLoader. The returned server will additionally be created using
the TCCL. As a convenience, the server will contain a default configuration.
public static MCServer createServer(ClassLoader cl)
throws IllegalArgumentException
DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
specified ClassLoader. The returned server will additionally be created using
the ClassLoader denoted.
IllegalArgumentException - If the ClassLoader is null
public static MCServer createServerWithDefaultConfiguration(ClassLoader cl)
throws IllegalArgumentException
DEFAULT_MC_SERVER_IMPL_CLASS_NAME, using the
specified ClassLoader. The returned server will additionally be created using
the ClassLoader denoted. As a convenience, the server will contain a
default configuration.
IllegalArgumentException - If the ClassLoader is null
public static MCServer createServer(String implClassName,
ClassLoader cl)
throws IllegalArgumentException,
Exception
IllegalArgumentException - If the ClassLoader or server implementation class is null
Exception - If there was an error in creating the Server
public static MCServer createServerWithDefaultConfiguration(String implClassName,
ClassLoader cl)
throws IllegalArgumentException,
Exception
IllegalArgumentException - If the ClassLoader or server implementation class is null
Exception - If there was an error in creating the Server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||