接口的使用
org.springframework.beans.factory.config.Scope
使用Scope的程序包 程序包 说明 org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factorypackage.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.org.springframework.messaging.simp Generic support for Simple Messaging Protocols including protocols such as STOMP.org.springframework.transaction.support Support classes for the org.springframework.transaction package.org.springframework.web.context.request Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.org.springframework.web.context.support Classes supporting theorg.springframework.web.contextpackage, such as WebApplicationContext implementations and various utility classes.org.springframework.beans.factory.config中Scope的使用
返回Scope的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 ScopeConfigurableBeanFactory. getRegisteredScope(String scopeName)Return the Scope implementation for the given scope name, if any.ScopeBeanExpressionContext. getScope()参数类型为Scope的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 voidCustomScopeConfigurer. addScope(String scopeName, Scope scope)Add the given scope to this configurer's map of scopes.voidConfigurableBeanFactory. registerScope(String scopeName, Scope scope)Register the given scope, backed by the given Scope implementation.参数类型为Scope的org.springframework.beans.factory.config中的构造器 构造器 说明 BeanExpressionContext(ConfigurableBeanFactory beanFactory, Scope scope)org.springframework.beans.factory.support中Scope的使用
返回Scope的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 ScopeAbstractBeanFactory. getRegisteredScope(String scopeName)参数类型为Scope的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 voidAbstractBeanFactory. registerScope(String scopeName, Scope scope)org.springframework.context.support中Scope的使用
实现Scope的org.springframework.context.support中的类 修饰符和类型 类 说明 classSimpleThreadScopeA simple thread-backedScopeimplementation.org.springframework.messaging.simp中Scope的使用
实现Scope的org.springframework.messaging.simp中的类 修饰符和类型 类 说明 classSimpSessionScopeAScopeimplementation exposing the attributes of a SiMP session (e.g.org.springframework.transaction.support中Scope的使用
实现Scope的org.springframework.transaction.support中的类 修饰符和类型 类 说明 classSimpleTransactionScopeA simple transaction-backedScopeimplementation, delegating toTransactionSynchronizationManager's resource binding mechanism.org.springframework.web.context.request中Scope的使用
实现Scope的org.springframework.web.context.request中的类 修饰符和类型 类 说明 classAbstractRequestAttributesScopeAbstractScopeimplementation that reads from a particular scope in the current thread-boundRequestAttributesobject.classRequestScopeRequest-backedScopeimplementation.classSessionScopeSession-backedScopeimplementation.org.springframework.web.context.support中Scope的使用
实现Scope的org.springframework.web.context.support中的类 修饰符和类型 类 说明 classServletContextScopeScopewrapper for a ServletContext, i.e. for global web application attributes.