org.kuali.rice.kns.config
Class GlobalResourceLoaderServiceFactoryBean

java.lang.Object
  extended by org.kuali.rice.kns.config.GlobalResourceLoaderServiceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class GlobalResourceLoaderServiceFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

Exports services in the GlobalResourceLoader as beans available to Spring.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  String serviceName
           
private  boolean singleton
           
 
Constructor Summary
GlobalResourceLoaderServiceFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 String getServiceName()
           
 boolean isSingleton()
           
 void setServiceName(String serviceName)
           
 void setSingleton(boolean singleton)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceName

private String serviceName

singleton

private boolean singleton
Constructor Detail

GlobalResourceLoaderServiceFactoryBean

public GlobalResourceLoaderServiceFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)

setSingleton

public void setSingleton(boolean singleton)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.