Hi I created a custom sterotype @Action, and Spring has managed to detect it in the package scan I configured in the configurations.
The next step I would like to do is to tell Spring that all classes with @Action should be created with prototype, instead of Singleton.
My @Action interface is as follows:
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Action {
}
I tried to mark it with @Scope("prototype") but that does not seem to help.
Is what I desire possible?
Kent