|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.resourceloader.ResourceLoaderServiceFactoryBean
public class ResourceLoaderServiceFactoryBean
Exports services in the GlobalResourceLoader
as beans available to Spring.
Field Summary | |
---|---|
private String |
namespace
The KSB namespace in which to look for the service, default is null, which is 'local' services |
private ResourceLoader |
resourceLoader
The resource loader in which to look up the service |
private String |
serviceName
The service to retrieve. |
private boolean |
singleton
Whether we provide a singleton. |
Constructor Summary | |
---|---|
ResourceLoaderServiceFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
String |
getNamespace()
|
Object |
getObject()
|
Class |
getObjectType()
|
protected QName |
getQName(String beanName)
Constructs a QName from the defined namespace and beanName |
ResourceLoader |
getResourceLoader()
|
String |
getServiceName()
|
boolean |
isSingleton()
|
void |
setBeanName(String name)
|
void |
setNamespace(String namespace)
|
void |
setResourceLoader(ResourceLoader resourceLoader)
|
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 |
---|
private String serviceName
private String namespace
private boolean singleton
private ResourceLoader resourceLoader
Constructor Detail |
---|
public ResourceLoaderServiceFactoryBean()
Method Detail |
---|
public String getServiceName()
public void setServiceName(String serviceName)
serviceName
- the service name to retrieve from the ResourceLoaderpublic String getNamespace()
public void setNamespace(String namespace)
namespace
- the namespace under which to look up the service/beanpublic void setSingleton(boolean singleton)
singleton
- whether we know that the target bean will be a singletonpublic boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
FactoryBean.isSingleton()
public void setResourceLoader(ResourceLoader resourceLoader)
resourceLoader
- the ResourceLoader in which to look up the servicepublic ResourceLoader getResourceLoader()
public void setBeanName(String name)
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
BeanNameAware.setBeanName(java.lang.String)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected QName getQName(String beanName)
beanName
- the bean name to look up
public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
FactoryBean.getObject()
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
FactoryBean.getObjectType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |