|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.bootstrap.spi.as.server.JBossASServerFactory
public class JBossASServerFactory
JBossASServerFactory
Factory of JBossASServer
implementations
Field Summary | |
---|---|
static String |
DEFAULT_AS_SERVER_IMPL_CLASS_NAME
The FQN of the default server implementation class to create |
Method Summary | |
---|---|
static JBossASServer |
createServer()
Creates a JBossASServer from the default implementation class name DEFAULT_AS_SERVER_IMPL_CLASS_NAME , using the
Thread Context ClassLoader. |
static JBossASServer |
createServer(ClassLoader cl)
Creates a JBossASServer from the default implementation class name DEFAULT_AS_SERVER_IMPL_CLASS_NAME , using the
specified ClassLoader. |
static JBossASServer |
createServer(String implClassName,
ClassLoader cl)
Creates a JBossASServer from the specified implementation class name using the specified ClassLoader. |
static JBossASServer |
createServerWithDefaultConfiguration()
Creates a JBossASServer from the default implementation class name DEFAULT_AS_SERVER_IMPL_CLASS_NAME , using the
Thread Context ClassLoader. |
static JBossASServer |
createServerWithDefaultConfiguration(ClassLoader cl)
Creates a JBossASServer from the default implementation class name DEFAULT_AS_SERVER_IMPL_CLASS_NAME , using the
specified ClassLoader. |
static JBossASServer |
createServerWithDefaultConfiguration(String implClassName,
ClassLoader cl)
Creates a JBossASServer 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_AS_SERVER_IMPL_CLASS_NAME
Method Detail |
---|
public static JBossASServer createServer()
DEFAULT_AS_SERVER_IMPL_CLASS_NAME
, using the
Thread Context ClassLoader. The returned server will additionally be created using
the TCCL.
public static JBossASServer createServerWithDefaultConfiguration()
DEFAULT_AS_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 JBossASServer createServer(ClassLoader cl) throws IllegalArgumentException
DEFAULT_AS_SERVER_IMPL_CLASS_NAME
, using the
specified ClassLoader. The returned server will additionally be created using
the ClassLoader denoted.
IllegalArgumentException
- If the ClassLoader is nullpublic static JBossASServer createServerWithDefaultConfiguration(ClassLoader cl) throws IllegalArgumentException
DEFAULT_AS_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 nullpublic static JBossASServer 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 Serverpublic static JBossASServer 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 |