|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.javaee.shared.ServletApplicationFactory
public class ServletApplicationFactory
Provide some simple methods for locating the WCM Application
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_CLASS_DEFAULT |
static java.lang.String |
APPLICATION_CLASS_PARAM |
Constructor Summary | |
---|---|
ServletApplicationFactory() |
Method Summary | |
---|---|
static ClientApplication |
createInstance(javax.servlet.ServletContext servletContext) Create the application instance |
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.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 final java.lang.String APPLICATION_CLASS_DEFAULT
Constructor Detail |
---|
public ServletApplicationFactory()
Method Detail |
---|
public static ClientApplication createInstance(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
servletContext
- the servlet contextjavax.servlet.ServletException
public static ClientApplication getApplication(javax.servlet.ServletContext servletContext) throws ApplicationException
servletContext
- the current contextApplicationException
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 instance
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |