Class EventBusConfig
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.configuration.properties.AdminServicesConfigHeader
-
- org.odpi.openmetadata.adminservices.configuration.properties.EventBusConfig
-
- All Implemented Interfaces:
Serializable
public class EventBusConfig extends AdminServicesConfigHeader
EventBusConfig caches the default properties that are used to set up event-based connectors in the server. If it is set up then the admin services will ensure that all connectors created after the event bus is configured, that embed an event bus will use the same event bus connector with the core additional properties. (These additional properties can be overridden when a specific connector is set up).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EventBusConfig()Default constructorEventBusConfig(EventBusConfig template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.Map<String,Object>getAdditionalProperties()Deprecated.Map<String,Object>getConfigurationProperties()Return the configuration properties for the event bus connection.StringgetConnectorProvider()Return the class name of the connector provider for the event bus.StringgetTopicURLRoot()Return the root of the topic URL.inthashCode()Return a hash code based on the values of this object.voidsetAdditionalProperties(Map<String,Object> properties)Deprecated.voidsetConfigurationProperties(Map<String,Object> configurationProperties)Set up the configuration properties for the event bus connection.voidsetConnectorProvider(String connectorProvider)Set up the class name of the connector provider for the event bus.voidsetTopicURLRoot(String topicURLRoot)Set up the root of the topic URL.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
EventBusConfig
public EventBusConfig()
Default constructor
-
EventBusConfig
public EventBusConfig(EventBusConfig template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getConnectorProvider
public String getConnectorProvider()
Return the class name of the connector provider for the event bus.- Returns:
- class name
-
setConnectorProvider
public void setConnectorProvider(String connectorProvider)
Set up the class name of the connector provider for the event bus.- Parameters:
connectorProvider- class name
-
getTopicURLRoot
public String getTopicURLRoot()
Return the root of the topic URL. The open metadata modules will add specific names to the root URL.- Returns:
- string URL
-
setTopicURLRoot
public void setTopicURLRoot(String topicURLRoot)
Set up the root of the topic URL. The open metadata modules will add specific names to the root URL.- Parameters:
topicURLRoot- string URL
-
getAdditionalProperties
@Deprecated public Map<String,Object> getAdditionalProperties()
Deprecated.Return the additional properties for the event bus connection.- Returns:
- map of name value pairs
-
setAdditionalProperties
@Deprecated public void setAdditionalProperties(Map<String,Object> properties)
Deprecated.Set up the additional properties for the event bus connection.- Parameters:
properties- map of name value pairs
-
getConfigurationProperties
public Map<String,Object> getConfigurationProperties()
Return the configuration properties for the event bus connection.- Returns:
- map of name value pairs
-
setConfigurationProperties
public void setConfigurationProperties(Map<String,Object> configurationProperties)
Set up the configuration properties for the event bus connection.- Parameters:
configurationProperties- map of name value pairs
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-