|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.javaee.ServletApplicationFactory
public class ServletApplicationFactory
Provide some simple methods for locating the WCM Application
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_CLASS_PARAM |
static ILog |
s_log |
Constructor Summary | |
---|---|
ServletApplicationFactory() |
Method Summary | |
---|---|
static ClientApplication |
createInstance(javax.servlet.ServletConfig servletConfig) Create the application instance |
static ClientApplication |
createInstance(javax.servlet.ServletContext servletContext) Deprecated. As of Java Servlet API 2.1, with no direct replacement. |
static ClientApplication |
getApplication(javax.servlet.ServletConfig servletConfig) Retrieve the WCM Application stored on the servlet context |
static ClientApplication |
getApplication(javax.servlet.ServletContext servletContext) Retrieve the WCM Application stored on the servlet context |
static ClientApplication |
getApplication(javax.servlet.ServletContext servletContext, boolean errorNotFound) Retrieve the WCM Application stored on the servlet context |
static void |
setApplication(javax.servlet.ServletConfig servletConfig, ClientApplication application) Set the WCM Application on the servlet context |
static void |
setApplication(javax.servlet.ServletContext servletContext, ClientApplication application) Set the WCM Application on the servlet context |
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 APPLICATION_CLASS_PARAM
public static ILog s_log
Constructor Detail |
---|
public ServletApplicationFactory()
Method Detail |
---|
@Deprecated
public static ClientApplication createInstance(javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException
servletContext
-javax.servlet.ServletException
java.lang.IllegalArgumentException
public static ClientApplication createInstance(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
servletConfig
- the servlet configjavax.servlet.ServletException
public static ClientApplication getApplication(javax.servlet.ServletContext servletContext) throws ApplicationException
servletContext
- the current contextApplicationException
public static ClientApplication getApplication(javax.servlet.ServletConfig servletConfig) throws ApplicationException
servletConfig
- the current configApplicationException
public static ClientApplication getApplication(javax.servlet.ServletContext servletContext, boolean errorNotFound) throws ApplicationException
servletContext
- the current contexterrorNotFound
- if true, error out if no wcm application instance is foundApplicationException
public static void setApplication(javax.servlet.ServletContext servletContext, ClientApplication application)
servletContext
- the current contextapplication
- the wcm application instancepublic static void setApplication(javax.servlet.ServletConfig servletConfig, ClientApplication application)
servletConfig
- the current configapplication
- the wcm application instance
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |