Groovy Documentation

org.codehaus.groovy.grails.beans.factory
[Java] Class UrlMappingFactoryBean

java.lang.Object
  org.springframework.beans.factory.config.AbstractFactoryBean
      org.codehaus.groovy.grails.beans.factory.UrlMappingFactoryBean
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware

@SuppressWarnings({"unchecked","rawtypes"})
public class UrlMappingFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

A factory bean that creates the URL mappings, checking if there is a bean called urlMap in the ctx and merging that with the mappings set explicitly on this bean.

Authors:
Graeme Rocher
Since:
0.3


Method Summary
protected java.util.Map createInstance()

java.lang.Class getObjectType()

void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)

void setMappings(java.util.Map mappings)

 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
org.springframework.beans.factory.config.AbstractFactoryBean#getObject(), org.springframework.beans.factory.config.AbstractFactoryBean#destroy(), org.springframework.beans.factory.config.AbstractFactoryBean#getObjectType(), org.springframework.beans.factory.config.AbstractFactoryBean#isSingleton(), org.springframework.beans.factory.config.AbstractFactoryBean#afterPropertiesSet(), org.springframework.beans.factory.config.AbstractFactoryBean#setSingleton(boolean), org.springframework.beans.factory.config.AbstractFactoryBean#setBeanFactory(org.springframework.beans.factory.BeanFactory), org.springframework.beans.factory.config.AbstractFactoryBean#setBeanClassLoader(java.lang.ClassLoader), org.springframework.beans.factory.config.AbstractFactoryBean#wait(), org.springframework.beans.factory.config.AbstractFactoryBean#wait(long), org.springframework.beans.factory.config.AbstractFactoryBean#wait(long, int), org.springframework.beans.factory.config.AbstractFactoryBean#equals(java.lang.Object), org.springframework.beans.factory.config.AbstractFactoryBean#toString(), org.springframework.beans.factory.config.AbstractFactoryBean#hashCode(), org.springframework.beans.factory.config.AbstractFactoryBean#getClass(), org.springframework.beans.factory.config.AbstractFactoryBean#notify(), org.springframework.beans.factory.config.AbstractFactoryBean#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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()
 

Method Detail

createInstance

@Override
protected java.util.Map createInstance()


getObjectType

@Override
public java.lang.Class getObjectType()


setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)


setMappings

public void setMappings(java.util.Map mappings)


 

Groovy Documentation