de.mindmatters.faces.spring.factory.context
Class ScopedRootBeanDefinition
java.lang.Object
org.springframework.beans.factory.support.AbstractBeanDefinition
org.springframework.beans.factory.support.RootBeanDefinition
de.mindmatters.faces.spring.factory.context.ScopedRootBeanDefinition
- All Implemented Interfaces:
- BeanDefinition, ScopedBeanDefinition
- public final class ScopedRootBeanDefinition
- extends RootBeanDefinition
- implements ScopedBeanDefinition
Scoped root bean definition. For further information please have a look at
the Spring docs.
- 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 |
ScopedRootBeanDefinition
public ScopedRootBeanDefinition(RootBeanDefinition original,
java.lang.String scope)
- Creates and initializes a ScopedRootBeanDefinition with the given
RootBeanDefinition
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