org.codehaus.groovy.grails.plugins
Class GrailsPluginManagerFactoryBean

java.lang.Object
  extended by org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean
All Implemented Interfaces:
FactoryBean<GrailsPluginManager>, InitializingBean, ApplicationContextAware

public class GrailsPluginManagerFactoryBean
extends Object
implements FactoryBean<GrailsPluginManager>, InitializingBean, ApplicationContextAware

A factory bean for loading the GrailsPluginManager instance.

Since:
0.4
Author:
Graeme Rocher, Chanwit Kaewkasi

Constructor Summary
GrailsPluginManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 GrailsPluginManager getObject()
           
 Class<GrailsPluginManager> getObjectType()
           
 boolean isSingleton()
           
 void setApplication(GrailsApplication application)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setGrailsDescriptor(Resource grailsDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrailsPluginManagerFactoryBean

public GrailsPluginManagerFactoryBean()
Method Detail

getObject

public GrailsPluginManager getObject()
Specified by:
getObject in interface FactoryBean<GrailsPluginManager>

getObjectType

public Class<GrailsPluginManager> getObjectType()
Specified by:
getObjectType in interface FactoryBean<GrailsPluginManager>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean<GrailsPluginManager>

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setGrailsDescriptor

public void setGrailsDescriptor(Resource grailsDescriptor)

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

setApplication

public void setApplication(GrailsApplication application)
Parameters:
application - the application to set