@Retention(value=RUNTIME) @Target(value={TYPE,FIELD,ANNOTATION_TYPE}) public @interface Stateless
Mark a Class is stateless in the context of ActFramework.
E.g. a certain Dao like Foo.Dao
could be marked as @Stateless
as every time it injected to a controller should be the same instance.
Note this annotation is NOT inherited
Copyright © 2014–2021 ActFramework. All rights reserved.