|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.WebFrameworkServiceRegistry
public class WebFrameworkServiceRegistry
Service Registry for Web Framework This service provides getters for all Web Framework services and helper beans.
Field Summary | |
---|---|
static String |
WEB_FRAMEWORK_SERVICE_REGISTRY_ID
|
Constructor Summary | |
---|---|
WebFrameworkServiceRegistry()
|
Method Summary | |
---|---|
org.springframework.context.ApplicationContext |
getApplicationContext()
Gets the application context. |
ConfigService |
getConfigService()
Gets the config service. |
ConnectorService |
getConnectorService()
Gets the connector service. |
static WebFrameworkServiceRegistry |
getInstance(javax.servlet.ServletContext servletContext)
Helper method for retrieving the service registry bound to the current application context. |
LinkBuilderFactory |
getLinkBuilderFactory()
Gets the link builder factory. |
PageMapperFactory |
getPageMapperFactory()
Gets the page mapper factory. |
PresetsManager |
getPresetsManager()
Gets the presets manager. |
RemoteConfigElement |
getRemoteConfiguration()
Gets the remote configuration. |
RenderService |
getRenderService()
Gets the web framework render service. |
RequestContextFactory |
getRequestContextFactory()
Gets the request context factory. |
ResourceService |
getResourceService()
Gets the resource service. |
ScriptRemote |
getScriptRemote()
Gets the script remote. |
javax.servlet.ServletContext |
getServletContext()
Gets the servlet context. |
freemarker.ext.servlet.ServletContextHashModel |
getServletContextHashModel()
Gets the servlet context hash model. |
freemarker.ext.jsp.TaglibFactory |
getTaglibFactory()
Gets the taglib factory. |
TagService |
getTagService()
Gets the tag service. |
TemplatesContainer |
getTemplatesContainer()
Gets the templates container. |
UserFactory |
getUserFactory()
Gets the user factory. |
WebFrameworkConfigElement |
getWebFrameworkConfiguration()
Gets the web framework configuration. |
Container |
getWebFrameworkContainer()
Gets the web framework container. |
WebFrameworkManager |
getWebFrameworkManager()
Gets the web framework manager. |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
|
protected void |
onBootstrap()
Initialization of the Web Framework Service Registry |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
|
void |
setLinkBuilderFactory(LinkBuilderFactory linkBuilderFactory)
Sets the link builder factory. |
void |
setPageMapperFactory(PageMapperFactory pageMapperFactory)
Sets the page mapper factory. |
void |
setRequestContextFactory(RequestContextFactory requestContextFactory)
Sets the request context factory. |
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
void |
setUserFactory(UserFactory userFactory)
Sets the user factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String WEB_FRAMEWORK_SERVICE_REGISTRY_ID
Constructor Detail |
---|
public WebFrameworkServiceRegistry()
Method Detail |
---|
public static WebFrameworkServiceRegistry getInstance(javax.servlet.ServletContext servletContext)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void setServletContext(javax.servlet.ServletContext servletContext) throws org.springframework.beans.BeansException
setServletContext
in interface org.springframework.web.context.ServletContextAware
org.springframework.beans.BeansException
public org.springframework.context.ApplicationContext getApplicationContext()
public javax.servlet.ServletContext getServletContext()
public void setRequestContextFactory(RequestContextFactory requestContextFactory)
requestContextFactory
- the new request context factorypublic void setPageMapperFactory(PageMapperFactory pageMapperFactory)
pageMapperFactory
- the new page mapper factorypublic void setLinkBuilderFactory(LinkBuilderFactory linkBuilderFactory)
linkBuilderFactory
- the new link builder factorypublic void setUserFactory(UserFactory userFactory)
userFactory
- the new user factorypublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener
protected void onBootstrap()
public ConfigService getConfigService()
public WebFrameworkManager getWebFrameworkManager()
public RenderService getRenderService()
public ResourceService getResourceService()
public TagService getTagService()
public ConnectorService getConnectorService()
public PresetsManager getPresetsManager()
public ScriptRemote getScriptRemote()
public RemoteConfigElement getRemoteConfiguration()
public WebFrameworkConfigElement getWebFrameworkConfiguration()
public PageMapperFactory getPageMapperFactory()
public LinkBuilderFactory getLinkBuilderFactory()
public UserFactory getUserFactory()
public RequestContextFactory getRequestContextFactory()
public Container getWebFrameworkContainer()
public TemplatesContainer getTemplatesContainer()
public freemarker.ext.jsp.TaglibFactory getTaglibFactory()
public freemarker.ext.servlet.ServletContextHashModel getServletContextHashModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |