@Configuration @ConditionalOnMissingBean(value=com.microsoft.windowsazure.services.media.MediaContract.class) @EnableConfigurationProperties(value=MediaServicesProperties.class) @ConditionalOnProperty(prefix="azure.mediaservices", value={"tenant","client-id","client-secret","rest-api-endpoint"}) public class MediaServicesAutoConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private MediaServicesProperties |
properties |
private TelemetryProxy |
telemetryProxy |
| Constructor and Description |
|---|
MediaServicesAutoConfiguration(MediaServicesProperties mediaServicesProperties) |
| Modifier and Type | Method and Description |
|---|---|
private com.microsoft.windowsazure.services.media.MediaContract |
createMediaContract() |
com.microsoft.windowsazure.services.media.MediaContract |
mediaContract() |
private void |
trackCustomEvent() |
private static final org.slf4j.Logger LOG
private final MediaServicesProperties properties
private final TelemetryProxy telemetryProxy
public MediaServicesAutoConfiguration(MediaServicesProperties mediaServicesProperties)
@Bean
public com.microsoft.windowsazure.services.media.MediaContract mediaContract()
throws com.microsoft.windowsazure.exception.ServiceException,
MalformedURLException,
URISyntaxException
com.microsoft.windowsazure.exception.ServiceExceptionMalformedURLExceptionURISyntaxExceptionprivate com.microsoft.windowsazure.services.media.MediaContract createMediaContract()
throws com.microsoft.windowsazure.exception.ServiceException,
MalformedURLException,
URISyntaxException
com.microsoft.windowsazure.exception.ServiceExceptionMalformedURLExceptionURISyntaxExceptionprivate void trackCustomEvent()
Copyright © 2019 Microsoft. All rights reserved.