|
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.client.ClientApplication
public abstract class ClientApplication
Represents an instance of the WCM framework object used to provide access to the WCM server APIs in a J2ee Application.
Nested Class Summary | |
---|---|
static interface |
ClientApplication.ConfigurationLoader Abstraction for loading the configuration |
Field Summary | |
---|---|
static java.lang.String |
CONTEXT_BEAN |
static java.lang.String |
WCM_IDENTITY |
Constructor Summary | |
---|---|
ClientApplication() |
Method Summary | |
---|---|
protected abstract ClientApplication.ConfigurationLoader |
createConfigLoader() Create the configuration file loader object |
protected ServerContext |
createServerContext() Create the server context |
SiteContext |
createSiteContext(RequestContext request) Create the SiteContext for this request |
SiteContext |
createSiteContext(RequestContext request, boolean initPathFromRequest) Create the SiteContext for this request |
protected SitePathBuilder |
createSitePathBuilder() |
ClientApplication.ConfigurationLoader |
getConfigLoader() |
FilterManager |
getFilterManager() |
InvokerFactory |
getInvokerFactory() |
RequestProcessor |
getServer() |
ServerContext |
getServerContext() |
SitePathBuilder |
getSitePathBuilder() |
SimplePatternMatcher |
getSitePathMatcher() |
SystemConfiguration |
getSystemConfig() |
protected java.io.File |
getTempDirectory() Returns System.getProperty ("java.io.tmpdir") by default. |
TemplatePathResolver |
getTemplatePathResolver() Object used to resolve a template path |
protected void |
initialize() Initialize the system |
protected void |
initSiteContext(RequestContext request, SiteContext siteContext, boolean initPathFromRequest) Initialize the SiteContext object |
void |
setFilterManager(FilterManager filterManager) Set a filter manager to handle routing filter |
void |
setInvokerFactory(InvokerFactory invokerFactory) Set the invoker factory |
void |
setSitePathBuilder(SitePathBuilder pathBuilder) Set the pattern builder for creating site paths |
void |
setSitePathMatcher(SimplePatternMatcher pathMatcher) Set the matcher object used to map site path to site ID |
void |
setTemplatePathResolver(TemplatePathResolver pathResolver) Set the template path resolver |
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 WCM_IDENTITY
public static final java.lang.String CONTEXT_BEAN
Constructor Detail |
---|
public ClientApplication()
Method Detail |
---|
public ServerContext getServerContext()
public RequestProcessor getServer()
public SystemConfiguration getSystemConfig()
public SimplePatternMatcher getSitePathMatcher()
public void setSitePathMatcher(SimplePatternMatcher pathMatcher)
pathMatcher
- the matcher objectpublic SitePathBuilder getSitePathBuilder()
public void setSitePathBuilder(SitePathBuilder pathBuilder)
pathBuilder
- the path builderpublic TemplatePathResolver getTemplatePathResolver()
public void setTemplatePathResolver(TemplatePathResolver pathResolver)
pathResolver
- the template path resolverpublic InvokerFactory getInvokerFactory()
public void setInvokerFactory(InvokerFactory invokerFactory)
invokerFactory
- the invoker factorypublic FilterManager getFilterManager()
public void setFilterManager(FilterManager filterManager)
filterManager
- the filter managerpublic SiteContext createSiteContext(RequestContext request)
request
- the requestpublic SiteContext createSiteContext(RequestContext request, boolean initPathFromRequest)
request
- the requestinitPathFromRequest
- true to initialize the path from the current requestpublic ClientApplication.ConfigurationLoader getConfigLoader()
protected abstract ClientApplication.ConfigurationLoader createConfigLoader()
protected java.io.File getTempDirectory()
System.getProperty ("java.io.tmpdir")
by default.protected void initialize() throws ApplicationException
ApplicationException
protected ServerContext createServerContext() throws ApplicationException
ApplicationException
protected SitePathBuilder createSitePathBuilder()
protected void initSiteContext(RequestContext request, SiteContext siteContext, boolean initPathFromRequest)
request
- the requestsiteContext
- the site contextinitPathFromRequest
- true to initialize the path from the request
|
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 |