de.mindmatters.faces.spring.factory.context
Class ScopedChildBeanDefinition
java.lang.Object
org.springframework.beans.factory.support.AbstractBeanDefinition
org.springframework.beans.factory.support.ChildBeanDefinition
de.mindmatters.faces.spring.factory.context.ScopedChildBeanDefinition
- All Implemented Interfaces:
- BeanDefinition, ScopedBeanDefinition
- public final class ScopedChildBeanDefinition
- extends ChildBeanDefinition
- implements ScopedBeanDefinition
Scoped bean definition for beans that inherit settings from their parent.
- Author:
- Andreas Kuhrwahl
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, setAbstract, setAutowireMode, setBeanClass, setBeanClassName, setConstructorArgumentValues, setDependencyCheck, setDependsOn, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setMethodOverrides, setPropertyValues, setResourceDescription, setSingleton, validateMethodOverride |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScopedChildBeanDefinition
public ScopedChildBeanDefinition(ChildBeanDefinition original,
java.lang.String scope)
- Creates and initializes a ScopedChildBeanDefinition with the given
ChildBeanDefinition
original
.
- Parameters:
original
- the originalscope
- the declared scope
isApplicationScope
public boolean isApplicationScope()
-
- Specified by:
isApplicationScope
in interface ScopedBeanDefinition
- Returns:
true
if bean is declared in application-scope
otherwise false
isSessionScope
public boolean isSessionScope()
-
- Specified by:
isSessionScope
in interface ScopedBeanDefinition
- Returns:
true
if bean is declared in session-scope
otherwise false
isRequestScope
public boolean isRequestScope()
-
- Specified by:
isRequestScope
in interface ScopedBeanDefinition
- Returns:
true
if bean is declared in request-scope
otherwise false
isNoneScope
public boolean isNoneScope()
-
- Specified by:
isNoneScope
in interface ScopedBeanDefinition
- Returns:
true
if bean is declared in none-scope otherwise
false
getScope
public java.lang.String getScope()
-
- Specified by:
getScope
in interface ScopedBeanDefinition
- Returns:
- the declared scope of the bean represented by this definition
setScope
public void setScope(java.lang.String scope)
- Sets the scope of the bean represented by this definition.
- Specified by:
setScope
in interface ScopedBeanDefinition
- Parameters:
scope
- the scope
Copyright © 2002 mindmatters GmbH & Co. KG