org.loom.spring
Class PrototypeScopeResolver

java.lang.Object
  extended by org.loom.spring.PrototypeScopeResolver
All Implemented Interfaces:
org.springframework.context.annotation.ScopeMetadataResolver

public class PrototypeScopeResolver
extends java.lang.Object
implements org.springframework.context.annotation.ScopeMetadataResolver

Put all Action in PROTOTYPE scope instead of the default SINGLETON


Constructor Summary
PrototypeScopeResolver()
           
 
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
 

Constructor Detail

PrototypeScopeResolver

public PrototypeScopeResolver()
Method Detail

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