接口 ActiveProfilesResolver

  • 所有已知实现类:
    DefaultActiveProfilesResolver

    public interface ActiveProfilesResolver
    Strategy interface for programmatically resolving which active bean definition profiles should be used when loading an ApplicationContext for a test class.

    A custom ActiveProfilesResolver can be registered via the resolver attribute of @ActiveProfiles.

    Concrete implementations must provide a public no-args constructor.

    从以下版本开始:
    4.0
    作者:
    Sam Brannen, Michail Nikolaev
    另请参阅:
    ActiveProfiles
    • 方法详细资料