Class ServerNameActivationStrategy

  • All Implemented Interfaces:
    ActivationStrategy

    public class ServerNameActivationStrategy
    extends Object
    implements ActivationStrategy
    Activation strategy that will use the server name used in the request to decide if the feature is active or not. This strategy can be useful when given service instance is available through two different virtual host names (like www.example.com and beta.example.com) each with different features enabled.
    Author:
    Marcin ZajÄ…czkowski, 2014-04-28