/** * Exposes a client for the <em>Credentials</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(CredentialsConstants.CREDENTIALS_ENDPOINT) @Scope("prototype") public HonoClient credentialsServiceClient() { return new HonoClientImpl(vertx(), credentialsServiceClientConfig()); }
/** * Exposes a client for the <em>Credentials</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(CredentialsConstants.CREDENTIALS_ENDPOINT) @Scope("prototype") public HonoClient credentialsServiceClient() { return new HonoClientImpl(vertx(), credentialsServiceClientConfig()); }
/** * Exposes a client for the <em>Hono Messaging</em> component as a Spring bean. * <p> * The client is configured with the properties provided by {@link #messagingClientConfig()}. * * @return The client. */ @Qualifier(Constants.QUALIFIER_MESSAGING) @Bean @Scope("prototype") public HonoClient messagingClient() { return new HonoClientImpl(vertx(), messagingClientConfig()); }
/** * Exposes the Command and Control connection. * * @return The Connection. */ @Bean @Scope("prototype") public CommandConnection commandConnection() { return new CommandConnectionImpl(vertx(), commandConnectionClientConfig()); }
/** * Exposes a client for the <em>Hono Messaging</em> component as a Spring bean. * <p> * The client is configured with the properties provided by {@link #messagingClientConfig()}. * * @return The client. */ @Qualifier(Constants.QUALIFIER_MESSAGING) @Bean @Scope("prototype") public HonoClient messagingClient() { return new HonoClientImpl(vertx(), messagingClientConfig()); }
/** * Exposes the Command and Control connection. * * @return The Connection. */ @Bean @Scope("prototype") public CommandConnection commandConnection() { return new CommandConnectionImpl(vertx(), commandConnectionClientConfig()); }
/** * Exposes the health check server as a Spring bean. * * @return The health check server. */ @Bean public HealthCheckServer healthCheckServer() { return new VertxBasedHealthCheckServer(vertx(), applicationConfigProperties()); } }
/** * Exposes a client for the <em>Tenant</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(TenantConstants.TENANT_ENDPOINT) @Scope("prototype") public HonoClient tenantServiceClient() { final HonoClientImpl result = new HonoClientImpl(vertx(), tenantServiceClientConfig()); final CacheProvider cacheProvider = tenantCacheProvider(); if (cacheProvider != null) { result.setCacheProvider(cacheProvider); } return result; }
/** * Exposes a client for the <em>Device Registration</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(RegistrationConstants.REGISTRATION_ENDPOINT) @Scope("prototype") public HonoClient registrationServiceClient() { final HonoClientImpl result = new HonoClientImpl(vertx(), registrationServiceClientConfig()); final CacheProvider cacheProvider = registrationCacheProvider(); if (cacheProvider != null) { result.setCacheProvider(cacheProvider); } return result; }
/** * Exposes a client for the <em>Tenant</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(TenantConstants.TENANT_ENDPOINT) @Scope("prototype") public HonoClient tenantServiceClient() { final HonoClientImpl result = new HonoClientImpl(vertx(), tenantServiceClientConfig()); final CacheProvider cacheProvider = tenantCacheProvider(); if (cacheProvider != null) { result.setCacheProvider(cacheProvider); } return result; }
/** * Exposes a client for the <em>Device Registration</em> API as a Spring bean. * * @return The client. */ @Bean @Qualifier(RegistrationConstants.REGISTRATION_ENDPOINT) @Scope("prototype") public HonoClient registrationServiceClient() { final HonoClientImpl result = new HonoClientImpl(vertx(), registrationServiceClientConfig()); final CacheProvider cacheProvider = registrationCacheProvider(); if (cacheProvider != null) { result.setCacheProvider(cacheProvider); } return result; }