|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.factories.ServerConfigFactory
public class ServerConfigFactory
Can construct an appropriate ServerConfig object based on a map (which at a minimum must contain a class name for the ServerConfig implementation).
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_SERVER_CONFIG_CLASS
|
static java.lang.String |
SERVER_CONFIG_CLASS
|
Method Summary | |
---|---|
static java.lang.ClassLoader |
getClassLoader()
|
static ServerConfig |
getSingleton()
Get the server config implementation and hope it's initialized already. |
static ServerConfig |
initSingleton(javax.servlet.FilterConfig filterConfig)
Construct the concrete implementation of the ServerConfig interface, based on a filter config. |
static ServerConfig |
initSingleton(javax.servlet.ServletConfig servletConfig)
Construct the concrete implementation of the ServerConfig interface, based on a servlet config. |
static ServerConfig |
initSingleton(javax.servlet.ServletContext servletContext,
java.util.Properties properties)
Construct the concrete implementation of the ServerConfig interface, based on a servlet context and properties. |
static void |
setClassLoader(java.lang.ClassLoader classLoader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SERVER_CONFIG_CLASS
public static final java.lang.String DEFAULT_SERVER_CONFIG_CLASS
Method Detail |
---|
public static ServerConfig initSingleton(javax.servlet.ServletContext servletContext, java.util.Properties properties) throws java.lang.Exception
java.lang.Exception
public static ServerConfig initSingleton(javax.servlet.ServletConfig servletConfig) throws java.lang.Exception
java.lang.Exception
public static ServerConfig initSingleton(javax.servlet.FilterConfig filterConfig) throws java.lang.Exception
java.lang.Exception
public static ServerConfig getSingleton()
public static java.lang.ClassLoader getClassLoader()
public static void setClassLoader(java.lang.ClassLoader classLoader)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |