blob: 4235486cd5f66701194395c828a2a71c68e03ddf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package com.juick.components.configuration;
import com.juick.components.MPNSManager;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* Created by vital on 29.03.2017.
*/
@Configuration
@ConditionalOnProperty(name = "wns_application_sip")
public class MPNSConfiguration {
@Bean
public MPNSManager mpnsClient() {
return new MPNSManager();
}
}
|