@java.lang.SuppressWarnings({ "unchecked", "rawtypes" }) public class UrlMappingsHolderFactoryBean extends java.lang.Object implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, GrailsApplicationAware, PluginManagerAware
Constructs the UrlMappingsHolder from the registered UrlMappings class within a GrailsApplication.
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
URL_CREATOR_CACHE_MAX_SIZE |
|
private static java.lang.String |
URL_MAPPING_CACHE_MAX_SIZE |
|
private org.springframework.context.ApplicationContext |
applicationContext |
|
private GrailsApplication |
grailsApplication |
|
private GrailsPluginManager |
pluginManager |
|
private UrlMappings |
urlMappingsHolder |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
afterPropertiesSet() |
|
public UrlMappings |
getObject() |
|
public java.lang.Class<UrlMappings> |
getObjectType() |
|
public boolean |
isSingleton() |
|
public void |
onApplicationEvent(ArtefactAdditionEvent event) |
|
public void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) Set the ApplicationContext that this object runs in. |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
|
public void |
setPluginManager(GrailsPluginManager pluginManager) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Set the ApplicationContext that this object runs in. Normally this call will be used to initialize the object.
Invoked after population of normal bean properties but before an init callback such as org.springframework.beans.factory.InitializingBean#afterPropertiesSet() or a custom init-method. Invoked after org.springframework.context.ResourceLoaderAware#setResourceLoader, org.springframework.context.ApplicationEventPublisherAware#setApplicationEventPublisher and org.springframework.context.MessageSourceAware, if applicable.
applicationContext
- the ApplicationContext object to be used by this object