Class SpringEnvironmentPropertyActivationStrategy

java.lang.Object
org.togglz.core.activation.AbstractPropertyDrivenActivationStrategy
org.togglz.spring.activation.SpringEnvironmentPropertyActivationStrategy
All Implemented Interfaces:
ActivationStrategy

public class SpringEnvironmentPropertyActivationStrategy extends AbstractPropertyDrivenActivationStrategy

An activation strategy based on the values of properties accessible within the Spring environment.

It can either be based on a given property name, passed via the ""name"" parameter, or a property name derived from the Feature itself (e.g. ""togglz."FEATURE_NAME").

Author:
Alasdair Mercer
See Also: