This project has retired. For details please refer to its
Attic page.
ControllerBeanScopeResolver (Apache Cocoon 3: Parent 3.0.0-beta-1-SNAPSHOT API)
org.apache.cocoon.rest.controller
Class ControllerBeanScopeResolver
java.lang.Object
org.apache.cocoon.rest.controller.ControllerBeanScopeResolver
- All Implemented Interfaces:
- org.springframework.context.annotation.ScopeMetadataResolver
public class ControllerBeanScopeResolver
- extends Object
- implements org.springframework.context.annotation.ScopeMetadataResolver
Set the scope for all REST controller to BeanDefinition.SCOPE_PROTOTYPE
.
Method Summary |
org.springframework.context.annotation.ScopeMetadata |
resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerBeanScopeResolver
public ControllerBeanScopeResolver()
resolveScopeMetadata
public org.springframework.context.annotation.ScopeMetadata resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)
-
- Specified by:
resolveScopeMetadata
in interface org.springframework.context.annotation.ScopeMetadataResolver
- See Also:
ScopeMetadataResolver.resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition)
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.