public class UrlMappingsHolderFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<UrlMappings>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware, org.codehaus.groovy.grails.plugins.PluginManagerAware
| Constructor and Description |
|---|
UrlMappingsHolderFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
UrlMappings |
getObject() |
java.lang.Class<UrlMappings> |
getObjectType() |
boolean |
isSingleton() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Set the ApplicationContext that this object runs in.
|
void |
setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication) |
void |
setPluginManager(org.codehaus.groovy.grails.plugins.GrailsPluginManager pluginManager) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public UrlMappings getObject() throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBean<UrlMappings>java.lang.Exceptionpublic java.lang.Class<UrlMappings> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<UrlMappings>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<UrlMappings>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
setGrailsApplication in interface org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAwarepublic void setServletContext(javax.servlet.ServletContext servletContext)
public void setPluginManager(org.codehaus.groovy.grails.plugins.GrailsPluginManager pluginManager)
setPluginManager in interface org.codehaus.groovy.grails.plugins.PluginManagerAwarepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
Invoked after population of normal bean properties but before an init callback such
as InitializingBean.afterPropertiesSet()
or a custom init-method. Invoked after ResourceLoaderAware.setResourceLoader(org.springframework.core.io.ResourceLoader),
ApplicationEventPublisherAware.setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher) and
MessageSourceAware, if applicable.
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the ApplicationContext object to be used by this objectorg.springframework.context.ApplicationContextException - in case of context initialization errorsorg.springframework.beans.BeansException - if thrown by application context methodsBeanInitializationException