|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.beans.factory.support.AbstractBeanDefinition
org.springframework.beans.factory.support.RootBeanDefinition
de.mindmatters.faces.spring.factory.context.ManagedBeanDefinition
RootBeanDefinition for
beans defined in a JSF context. Supports bean declarations of type
List, Map and beans complying with the
JavaBeans convention.
| Field Summary | |
protected org.apache.commons.logging.Log |
logger
For logging. |
| Fields inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR, AUTOWIRE_NO, DEPENDENCY_CHECK_ALL, DEPENDENCY_CHECK_NONE, DEPENDENCY_CHECK_OBJECTS, DEPENDENCY_CHECK_SIMPLE |
| Constructor Summary | |
ManagedBeanDefinition(java.lang.String resourceDescription,
java.lang.Class beanClass,
MutablePropertyValues pvs,
java.lang.String scope)
Creates a new ManagedBeanDefinition, providing property
values. |
|
ManagedBeanDefinition(java.lang.String resourceDescription,
java.lang.String beanClassName,
MutablePropertyValues pvs,
java.lang.String scope)
Creates a new ManagedBeanDefinition, providing property
values. |
|
| Method Summary | |
java.lang.String |
getScope()
|
boolean |
isApplicationScope()
|
boolean |
isNoneScope()
|
boolean |
isRequestScope()
|
boolean |
isSessionScope()
|
void |
setAbstract(boolean abstractFlag)
|
void |
setAutowireMode(int autowireMode)
|
void |
setConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues)
|
void |
setDependencyCheck(int dependencyCheck)
|
void |
setFactoryBeanName(java.lang.String factoryBeanName)
|
void |
setFactoryMethodName(java.lang.String factoryMethodName)
|
void |
setScope(java.lang.String scope)
Sets the scope of the bean represented by this definition. |
protected void |
validateMethodOverride(MethodOverride mo)
|
| Methods inherited from class org.springframework.beans.factory.support.RootBeanDefinition |
toString, validate |
| Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getMethodOverrides, getPropertyValues, getResolvedAutowireMode, getResourceDescription, hasBeanClass, hasConstructorArgumentValues, isAbstract, isLazyInit, isSingleton, overrideFrom, setBeanClass, setBeanClassName, setDependsOn, setDestroyMethodName, setInitMethodName, setLazyInit, setMethodOverrides, setPropertyValues, setResourceDescription, setSingleton |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.mindmatters.faces.spring.factory.context.ScopedBeanDefinition |
getBeanClass, hasBeanClass |
| Methods inherited from interface org.springframework.beans.factory.config.BeanDefinition |
getConstructorArgumentValues, getPropertyValues, getResourceDescription, isAbstract, isLazyInit, isSingleton |
| Field Detail |
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
public ManagedBeanDefinition(java.lang.String resourceDescription,
java.lang.Class beanClass,
MutablePropertyValues pvs,
java.lang.String scope)
ManagedBeanDefinition, providing property
values.
resourceDescription - description of the resource that this bean definition came
frombeanClass - the class of the bean to instantiatepvs - the property values to apply if bean declaration complies with
the JavaBeans conventionsscope - of the bean
public ManagedBeanDefinition(java.lang.String resourceDescription,
java.lang.String beanClassName,
MutablePropertyValues pvs,
java.lang.String scope)
ManagedBeanDefinition, providing property
values. Takes a bean class name to avoid eager loading of the bean class.
resourceDescription - description of the resource that this bean definition came
frombeanClassName - the name of the class to instantiatepvs - the property values to apply if bean declaration complies with
the JavaBeans conventionsscope - of the bean| Method Detail |
public boolean isApplicationScope()
isApplicationScope in interface ScopedBeanDefinitiontrue if bean is declared in application-scope
otherwise falsepublic boolean isSessionScope()
isSessionScope in interface ScopedBeanDefinitiontrue if bean is declared in session-scope
otherwise falsepublic boolean isRequestScope()
isRequestScope in interface ScopedBeanDefinitiontrue if bean is declared in request-scope
otherwise falsepublic boolean isNoneScope()
isNoneScope in interface ScopedBeanDefinitiontrue if bean is declared in none-scope otherwise
falsepublic java.lang.String getScope()
getScope in interface ScopedBeanDefinitionpublic void setAutowireMode(int autowireMode)
public void setDependencyCheck(int dependencyCheck)
public void setFactoryBeanName(java.lang.String factoryBeanName)
public void setFactoryMethodName(java.lang.String factoryMethodName)
public void setAbstract(boolean abstractFlag)
public void setConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues)
public void setScope(java.lang.String scope)
setScope in interface ScopedBeanDefinitionscope - the scopeprotected void validateMethodOverride(MethodOverride mo)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||