org.kuali.rice.core
Class BeanHolder
java.lang.Object
org.kuali.rice.core.BeanHolder
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class BeanHolder
- extends Object
- implements org.springframework.beans.factory.FactoryBean
The entire purpose of this class is to wrap an otherwise normal bean
whose class is dynamically set at runtime through the PropertyPlaceholderConfigurer
because the element attributes themselves are not parameterizable,
only the property values.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanHolder
public BeanHolder()
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
setObjectType
public void setObjectType(Class clazz)
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.