org.rcfaces.core.internal
Class RcfacesContext

java.lang.Object
  extended by org.rcfaces.core.internal.RcfacesContext

public abstract class RcfacesContext
extends Object

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Field Summary
protected static String APPLICATION_VERSION_PROPERTY
           
static int JSF_1_1
           
static int JSF_1_2
           
protected static String LISTENER_MANAGER_STRATEGY_PARAMETER
           
static String RCFACES_CONFIG_FILENAME
           
static String RCFACES_CONFIG_FILES_PARAMETER
           
 
Constructor Summary
protected RcfacesContext()
           
 
Method Summary
abstract  org.rcfaces.core.internal.adapter.IAdapterManager getAdapterManager()
           
abstract  String getApplicationVersion()
           
abstract  org.rcfaces.core.internal.renderkit.border.IBorderRenderersRegistry getBorderRenderersRegistry()
           
abstract  org.rcfaces.core.internal.validator.IClientValidatorsRegistry getClientValidatorsRegistry()
           
abstract  org.rcfaces.core.internal.contentAccessor.IContentAccessorRegistry getContentAccessorRegistry()
           
abstract  org.rcfaces.core.internal.contentStorage.IContentStorageEngine getContentStorageEngine()
           
static RcfacesContext getCurrentInstance()
           
abstract  org.rcfaces.core.internal.contentAccessor.IContentProxyHandler getDefaultContentProxyHandler()
           
abstract  org.rcfaces.core.internal.contentAccessor.IContentVersionHandler getDefaultContentVersionHandler()
           
abstract  org.rcfaces.core.internal.documentBuilder.IDocumentBuilderProvider getDocumentBuilderProvider()
           
static RcfacesContext getInstance(FacesContext facesContext)
           
static RcfacesContext getInstance(ServletContext servletContext, ServletRequest request, ServletResponse response)
           
abstract  int getListenerManagerStrategy()
           
abstract  org.rcfaces.core.internal.config.IProvidersRegistry getProvidersRegistry()
           
abstract  org.rcfaces.core.internal.repository.IRepositoryManager getRepositoryManager()
           
abstract  org.rcfaces.core.internal.contentProxy.IResourceProxyHandler getResourceProxyHandler()
           
abstract  org.rcfaces.core.internal.version.IResourceVersionHandler getResourceVersionHandler()
           
abstract  org.rcfaces.core.internal.service.IServicesRegistry getServicesRegistry()
           
protected abstract  void initialize(FacesContext facesContext)
           
abstract  boolean isDesignerMode()
           
static boolean isJSF1_2()
           
static void runIntoFacesContext(ServletContext context, ServletRequest request, ServletResponse response, Runnable runnable)
           
abstract  void setAdapterManager(org.rcfaces.core.internal.adapter.IAdapterManager adapterManager)
           
abstract  void setContentAccessorRegistry(org.rcfaces.core.internal.contentAccessor.IContentAccessorRegistry registry)
           
abstract  void setContentStorageEngine(org.rcfaces.core.internal.contentStorage.IContentStorageEngine indirectContentRepository)
           
abstract  void setDefaultContentProxyHandler(org.rcfaces.core.internal.contentAccessor.IContentProxyHandler handler)
           
abstract  void setDefaultContentVersionHandler(org.rcfaces.core.internal.contentAccessor.IContentVersionHandler handler)
           
abstract  void setDocumentBuilderProvider(org.rcfaces.core.internal.documentBuilder.IDocumentBuilderProvider documentBuilderProvider)
           
abstract  void setRepositoryManager(org.rcfaces.core.internal.repository.IRepositoryManager repositoryManager)
           
abstract  void setResourceProxyHandler(org.rcfaces.core.internal.contentProxy.IResourceProxyHandler resourceProxyHandler)
           
abstract  void setResourceVersionHandler(org.rcfaces.core.internal.version.IResourceVersionHandler resourceVersionHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSF_1_1

public static final int JSF_1_1
See Also:
Constant Field Values

JSF_1_2

public static final int JSF_1_2
See Also:
Constant Field Values

RCFACES_CONFIG_FILES_PARAMETER

public static final String RCFACES_CONFIG_FILES_PARAMETER

RCFACES_CONFIG_FILENAME

public static final String RCFACES_CONFIG_FILENAME
See Also:
Constant Field Values

LISTENER_MANAGER_STRATEGY_PARAMETER

protected static final String LISTENER_MANAGER_STRATEGY_PARAMETER

APPLICATION_VERSION_PROPERTY

protected static final String APPLICATION_VERSION_PROPERTY
See Also:
Constant Field Values
Constructor Detail

RcfacesContext

protected RcfacesContext()
Method Detail

getCurrentInstance

public static final RcfacesContext getCurrentInstance()

getInstance

public static final RcfacesContext getInstance(FacesContext facesContext)

getInstance

public static final RcfacesContext getInstance(ServletContext servletContext,
                                               ServletRequest request,
                                               ServletResponse response)

runIntoFacesContext

public static void runIntoFacesContext(ServletContext context,
                                       ServletRequest request,
                                       ServletResponse response,
                                       Runnable runnable)

initialize

protected abstract void initialize(FacesContext facesContext)

getApplicationVersion

public abstract String getApplicationVersion()

isDesignerMode

public abstract boolean isDesignerMode()

getListenerManagerStrategy

public abstract int getListenerManagerStrategy()

getServicesRegistry

public abstract org.rcfaces.core.internal.service.IServicesRegistry getServicesRegistry()

getClientValidatorsRegistry

public abstract org.rcfaces.core.internal.validator.IClientValidatorsRegistry getClientValidatorsRegistry()

getBorderRenderersRegistry

public abstract org.rcfaces.core.internal.renderkit.border.IBorderRenderersRegistry getBorderRenderersRegistry()

getProvidersRegistry

public abstract org.rcfaces.core.internal.config.IProvidersRegistry getProvidersRegistry()

getAdapterManager

public abstract org.rcfaces.core.internal.adapter.IAdapterManager getAdapterManager()

setAdapterManager

public abstract void setAdapterManager(org.rcfaces.core.internal.adapter.IAdapterManager adapterManager)

getDefaultContentVersionHandler

public abstract org.rcfaces.core.internal.contentAccessor.IContentVersionHandler getDefaultContentVersionHandler()

setDefaultContentVersionHandler

public abstract void setDefaultContentVersionHandler(org.rcfaces.core.internal.contentAccessor.IContentVersionHandler handler)

getDefaultContentProxyHandler

public abstract org.rcfaces.core.internal.contentAccessor.IContentProxyHandler getDefaultContentProxyHandler()

setDefaultContentProxyHandler

public abstract void setDefaultContentProxyHandler(org.rcfaces.core.internal.contentAccessor.IContentProxyHandler handler)

getContentAccessorRegistry

public abstract org.rcfaces.core.internal.contentAccessor.IContentAccessorRegistry getContentAccessorRegistry()

setContentAccessorRegistry

public abstract void setContentAccessorRegistry(org.rcfaces.core.internal.contentAccessor.IContentAccessorRegistry registry)

getResourceVersionHandler

public abstract org.rcfaces.core.internal.version.IResourceVersionHandler getResourceVersionHandler()

setResourceVersionHandler

public abstract void setResourceVersionHandler(org.rcfaces.core.internal.version.IResourceVersionHandler resourceVersionHandler)

getResourceProxyHandler

public abstract org.rcfaces.core.internal.contentProxy.IResourceProxyHandler getResourceProxyHandler()

setResourceProxyHandler

public abstract void setResourceProxyHandler(org.rcfaces.core.internal.contentProxy.IResourceProxyHandler resourceProxyHandler)

getContentStorageEngine

public abstract org.rcfaces.core.internal.contentStorage.IContentStorageEngine getContentStorageEngine()

setContentStorageEngine

public abstract void setContentStorageEngine(org.rcfaces.core.internal.contentStorage.IContentStorageEngine indirectContentRepository)

getDocumentBuilderProvider

public abstract org.rcfaces.core.internal.documentBuilder.IDocumentBuilderProvider getDocumentBuilderProvider()

setDocumentBuilderProvider

public abstract void setDocumentBuilderProvider(org.rcfaces.core.internal.documentBuilder.IDocumentBuilderProvider documentBuilderProvider)

getRepositoryManager

public abstract org.rcfaces.core.internal.repository.IRepositoryManager getRepositoryManager()

setRepositoryManager

public abstract void setRepositoryManager(org.rcfaces.core.internal.repository.IRepositoryManager repositoryManager)

isJSF1_2

public static boolean isJSF1_2()


Copyright © 2006-2011 Vedana. All Rights Reserved.