public class MQDatabaseSettingsDAO extends Object implements MQSettingsDAO
| Constructor and Description |
|---|
MQDatabaseSettingsDAO() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getBrokerConnectorURLs()
Use this this method to list all urls that the broker should be started on, hence the vm url
will not be included, since it will be available always.
|
Set<String> |
getBrokerConnectorURLsWithVM()
Use this method to list all urls that can be used to connect to the broker
|
String |
getBrokerName() |
String |
getDataDirectory() |
String |
getJmxDomainName() |
int |
getJmxPort() |
String |
getQueueName() |
String |
getReplyQueueNamePrefix() |
String |
getSSLPort() |
String |
getTcpPort() |
String |
getUrlHostname() |
String |
getVMConnectorURL() |
boolean |
isBrokerStarted() |
boolean |
isEnableSSL() |
boolean |
isEnableTCP() |
boolean |
isEnableVM()
This flag is only relevant for the adapter connecting to the broker, since the VM connection
is always available once the broker is started.
|
boolean |
isForceSSL() |
boolean |
isForceSSLClientAuthentication() |
boolean |
isJmxMonitoringEnabled() |
boolean |
isJmxRemoteEnabled() |
void |
setBrokerStarted(boolean isStarted)
sets broker's state flag
|
void |
setDataDirectory(String dataDirectoryPath)
sets data directory path
|
void |
setEnableJmxRemote(boolean enableJmx) |
void |
setEnableSSL(boolean enableSSL) |
void |
setEnableTCP(boolean enableTCP) |
void |
setEnableVM(boolean enableVM)
VM = virtual machine connector
|
void |
setForceSSL(boolean forceSSL) |
void |
setForceSSLClientAuthentication(boolean needClientAuth) |
public Set<String> getBrokerConnectorURLs()
MQSettingsDAOgetBrokerConnectorURLs in interface MQSettingsDAOpublic Set<String> getBrokerConnectorURLsWithVM()
MQSettingsDAOgetBrokerConnectorURLsWithVM in interface MQSettingsDAOMQSettingsDAO.isEnableVM() is true)public String getBrokerName()
getBrokerName in interface MQSettingsDAOpublic String getDataDirectory()
getDataDirectory in interface MQSettingsDAOpublic String getJmxDomainName()
getJmxDomainName in interface MQSettingsDAOpublic int getJmxPort()
getJmxPort in interface MQSettingsDAOpublic String getQueueName()
getQueueName in interface MQSettingsDAOpublic String getReplyQueueNamePrefix()
getReplyQueueNamePrefix in interface MQSettingsDAOpublic String getSSLPort()
getSSLPort in interface MQSettingsDAOpublic String getTcpPort()
getTcpPort in interface MQSettingsDAOpublic String getUrlHostname()
getUrlHostname in interface MQSettingsDAOpublic String getVMConnectorURL()
getVMConnectorURL in interface MQSettingsDAOpublic boolean isBrokerStarted()
isBrokerStarted in interface MQSettingsDAOpublic boolean isEnableSSL()
isEnableSSL in interface MQSettingsDAOpublic boolean isEnableTCP()
isEnableTCP in interface MQSettingsDAOpublic boolean isEnableVM()
MQSettingsDAOisEnableVM in interface MQSettingsDAOpublic boolean isForceSSL()
isForceSSL in interface MQSettingsDAOpublic boolean isForceSSLClientAuthentication()
isForceSSLClientAuthentication in interface MQSettingsDAOpublic boolean isJmxMonitoringEnabled()
isJmxMonitoringEnabled in interface MQSettingsDAOpublic boolean isJmxRemoteEnabled()
isJmxRemoteEnabled in interface MQSettingsDAOMQSettingsDAO.getJmxPort() portpublic void setBrokerStarted(boolean isStarted)
throws AuthorizationException
MQSettingsDAOsetBrokerStarted in interface MQSettingsDAOisStarted - the flag valueAuthorizationExceptionpublic void setDataDirectory(String dataDirectoryPath) throws AuthorizationException
MQSettingsDAOsetDataDirectory in interface MQSettingsDAOdataDirectoryPath - path to setAuthorizationExceptionpublic void setEnableJmxRemote(boolean enableJmx)
throws AuthorizationException
setEnableJmxRemote in interface MQSettingsDAOenableJmx - the enableJmx to setAuthorizationExceptionpublic void setEnableSSL(boolean enableSSL)
throws AuthorizationException
setEnableSSL in interface MQSettingsDAOenableSSL - true to enable the ssl connectorAuthorizationExceptionpublic void setEnableTCP(boolean enableTCP)
throws AuthorizationException
setEnableTCP in interface MQSettingsDAOenableTCP - true to enable tcpAuthorizationExceptionpublic void setEnableVM(boolean enableVM)
throws AuthorizationException
MQSettingsDAOsetEnableVM in interface MQSettingsDAOenableVM - true to enable vm (which actually only relevant for the embedded adapter)AuthorizationExceptionpublic void setForceSSL(boolean forceSSL)
throws AuthorizationException
setForceSSL in interface MQSettingsDAOforceSSL - the forceSSL to setAuthorizationExceptionpublic void setForceSSLClientAuthentication(boolean needClientAuth)
throws AuthorizationException
setForceSSLClientAuthentication in interface MQSettingsDAOneedClientAuth - true if a client auth by certificate is expected on connecting to the brokerAuthorizationExceptionCopyright © 2019 Communote team. All rights reserved.