public class AggregatedCloudPlatformConfiguration extends CloudPlatformConfiguration
| Constructor and Description |
|---|
AggregatedCloudPlatformConfiguration(AggregatedMessageQueueConfiguration messageQueueConfiguration,
CloudPlatformConfiguration... cloudPlatforms)
Creates the new instance of the aggregated cloud platform configuration for the multiple message queue scenario.
|
AggregatedCloudPlatformConfiguration(CloudPlatformConfiguration... cloudPlatforms)
Creates new instance of aggregated cloud platform configuration for the single message queue scenario.
|
| Modifier and Type | Method and Description |
|---|---|
AutoCloseable |
ensureCommunicationServerRunning()
Ensures that Message Queue is running on this cloud platform
|
CloudPlatformConfiguration[] |
getCloudPlatforms() |
IVirtualHost |
getVirtualHost(IdManager idManager)
Gets the new host within the declared platform.
|
IVirtualHostPool |
getVirtualHostPool() |
protected AutoCloseable |
startMessageQueueServer(MessageQueueConfiguration communicationConfiguration)
Starts Message Queue Server with specified configuration and returns closeable object that allows to shut it down.
|
getMessageQueueConfiguration, setMessageQueueConfigurationpublic AggregatedCloudPlatformConfiguration(CloudPlatformConfiguration... cloudPlatforms)
cloudPlatforms - The set of cloud platforms that will communicate through the single message queue.public AggregatedCloudPlatformConfiguration(AggregatedMessageQueueConfiguration messageQueueConfiguration, CloudPlatformConfiguration... cloudPlatforms)
messageQueueConfiguration - An instance of the aggregated message queue configuration that contains
a list of message queue configurations for each cloud platform.cloudPlatforms - The list of cloud platforms that should be aggregated within this aggregated message queue configuration.public CloudPlatformConfiguration[] getCloudPlatforms()
public IVirtualHost getVirtualHost(IdManager idManager)
CloudPlatformConfigurationgetVirtualHost in class CloudPlatformConfigurationpublic IVirtualHostPool getVirtualHostPool()
getVirtualHostPool in class CloudPlatformConfigurationpublic AutoCloseable ensureCommunicationServerRunning() throws Exception
CloudPlatformConfigurationensureCommunicationServerRunning in class CloudPlatformConfigurationExceptionprotected AutoCloseable startMessageQueueServer(MessageQueueConfiguration communicationConfiguration) throws Exception
CloudPlatformConfigurationstartMessageQueueServer in class CloudPlatformConfigurationcommunicationConfiguration - The message queue configuration of the server that should be started.ExceptionCopyright © 2014. All Rights Reserved.