public class IndividualVariableFactory<T>
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean
Constructor and Description |
---|
IndividualVariableFactory() |
Modifier and Type | Method and Description |
---|---|
T |
getBean()
Gets the bean.
|
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
java.lang.String |
getVariableName()
Gets the variable name.
|
boolean |
isSingleton() |
void |
setBean(T bean)
Sets the bean.
|
void |
setVariableName(java.lang.String variableName)
Sets the variable name.
|
public java.lang.Object getObject() throws java.lang.Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
java.lang.Exception
public java.lang.Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
public T getBean()
public void setBean(T bean)
bean
- the new beanpublic java.lang.String getVariableName()
public void setVariableName(java.lang.String variableName)
variableName
- the new variable name