In Spring what is the difference between @Profile and @ActiveProfiles : <p>What is the difference between using @Profile and @ActiveProfiles on a Spring Test configuration</p>

<pre><code>@Configuration
@EnableRetry
@ActiveProfiles("unittest") 
static class ContextConfiguration {
</code></pre>

<p>and</p>

<pre><code>@Configuration
@EnableRetry
@Profile("unittest") 
static class ContextConfiguration {
</code></pre>
