Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.client
Class ClientApplication

java.lang.Object
  extended by oracle.stellent.wcm.client.ClientApplication

Direct Known Subclasses:
ScriptableClientApplication, ServletClientApplication

public abstract class ClientApplication
extends java.lang.Object

Represents an instance of the WCM framework object used to provide access to the WCM server APIs in a J2ee Application.


Constructor Summary
ClientApplication()
           

 

Method Summary
protected abstract  ConfigurationLoader createConfigLoader()
          Create the configuration file loader object
 IdcClientFactory createIdcClientFactory(Configuration configuration)
           
protected  SiteContextBuilder createSiteContextBuilder()
           
 Configuration getConfiguration()
           
 WcmEventDispatcher getEventDispatcher()
           
 FilterManager getFilterManager()
           
 FriendlyNameResolver getFriendlyNameResolver()
           
 MemoryCacheFactory getMemoryCacheFactory()
           
 ProjectFileManager getProjectFileManager()
           
 Provider getProvider()
           
 SiteContextBuilder getSiteContextBuilder()
           
 SitePathBuilder getSitePathBuilder()
           
 SimplePatternMatcher getSitePathMatcher()
           
 SiteRequestProcessor getSiteRequestProcessor()
           
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
 void setFilterManager(FilterManager filterManager)
          Set a filter manager to handle routing filter
 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
 void shutdown()
           
 void startup()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ClientApplication

public ClientApplication()

Method Detail

startup

public void startup()

shutdown

public void shutdown()

getSitePathMatcher

public SimplePatternMatcher getSitePathMatcher()
Returns:
the pattern matcher used to match site urls to site IDs

setSitePathMatcher

public void setSitePathMatcher(SimplePatternMatcher pathMatcher)
Set the matcher object used to map site path to site ID
Parameters:
pathMatcher - the matcher object

getSitePathBuilder

public SitePathBuilder getSitePathBuilder()
Returns:
the object used to build site patterns

setSitePathBuilder

public void setSitePathBuilder(SitePathBuilder pathBuilder)
Set the pattern builder for creating site paths
Parameters:
pathBuilder - the path builder

getTemplatePathResolver

public TemplatePathResolver getTemplatePathResolver()
Object used to resolve a template path
Returns:
the template path resolver

setTemplatePathResolver

public void setTemplatePathResolver(TemplatePathResolver pathResolver)
Set the template path resolver
Parameters:
pathResolver - the template path resolver

getFilterManager

public FilterManager getFilterManager()
Returns:
the filter manager

setFilterManager

public void setFilterManager(FilterManager filterManager)
Set a filter manager to handle routing filter
Parameters:
filterManager - the filter manager

getProvider

public Provider getProvider()
Returns:
the SPI Provider using the mode that is defined in the system config

getProjectFileManager

public ProjectFileManager getProjectFileManager()
Returns:
the project service

getConfiguration

public Configuration getConfiguration()
Returns:
the system configuration

getMemoryCacheFactory

public MemoryCacheFactory getMemoryCacheFactory()
Returns:
the object used to locate content items in the web environment

getSiteRequestProcessor

public SiteRequestProcessor getSiteRequestProcessor()
Returns:
the request processor instance

getEventDispatcher

public WcmEventDispatcher getEventDispatcher()
Returns:
the processor for handling of server events

getSiteContextBuilder

public SiteContextBuilder getSiteContextBuilder()

getFriendlyNameResolver

public FriendlyNameResolver getFriendlyNameResolver()

createConfigLoader

protected abstract ConfigurationLoader createConfigLoader()
Create the configuration file loader object
Returns:
the config loader

getTempDirectory

protected java.io.File getTempDirectory()
Returns System.getProperty ("java.io.tmpdir") by default.
Returns:
the temporary file directory for the server context

createSiteContextBuilder

protected SiteContextBuilder createSiteContextBuilder()

initialize

protected void initialize()
                   throws ApplicationException
Initialize the system
Throws:
ApplicationException

createIdcClientFactory

public IdcClientFactory createIdcClientFactory(Configuration configuration)

Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.