public class EndpointResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOPIC_NAME_DELIMITER |
Constructor and Description |
---|
EndpointResolver() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateDefaultInMemoryEndpointURI(java.lang.String eventType,
PropertiesProvider propertiesProvider)
Generates an endpoint URI denoting the default in memory VM channel which corresponds to the specified event
type.
|
static java.lang.String |
generateInMemoryEndpointURI(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
Generates an endpoint URI denoting the in memory VM channel which corresponds to the specified event type.
|
static java.lang.String |
generateInMemoryEndpointURINoOptions(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
Generates an endpoint URI denoting the in memory VM channel which corresponds to the specified event type.
|
static java.lang.String |
generateInMemoryEndpointURINoOptions(java.lang.String eventTypeFullName)
Generates an endpoint URI denoting the in memory VM channel which corresponds to the specified event type.
|
static java.lang.String |
getDefaultEndpointURI(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
Returns the default component name for the specified Event Type ID
|
static java.lang.String |
getEndpointName(java.lang.String eventType) |
static java.lang.String |
getJNDIEntryName(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
Returns the JNDI Entry name for the given event type ID.
|
static java.lang.String |
getJndiEntryName(java.lang.String endpointUri) |
static java.lang.String |
jndiEntryNameToTopicName(java.lang.String jndiEntryName)
For the given JNDI entry returns a topic name according to the convention
|
public static final java.lang.String TOPIC_NAME_DELIMITER
public static java.lang.String generateInMemoryEndpointURINoOptions(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
eventTypeID
- the event type whose full name will be used for the generation of the endpoint URIpublic static java.lang.String generateInMemoryEndpointURINoOptions(java.lang.String eventTypeFullName)
eventTypeFullName
- the event type full name that will be used for the generation of the endpoint URIpublic static java.lang.String generateInMemoryEndpointURI(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
eventTypeID
- the event type whose full name will be used for the generation of the endpoint URIpublic static java.lang.String generateDefaultInMemoryEndpointURI(java.lang.String eventType, PropertiesProvider propertiesProvider)
eventType
- the event type whose full name will be used for the generation of the endpoint URIpropertiesProvider
- Properties provider to be used for resolving configurable URI optionspublic static java.lang.String getEndpointName(java.lang.String eventType)
public static java.lang.String getDefaultEndpointURI(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
eventTypeID
- - the event type IDpublic static java.lang.String getJNDIEntryName(com.softwareag.eda.store.api.EDAEventTypeID eventTypeID)
eventTypeID
- - the event type IDpublic static java.lang.String getJndiEntryName(java.lang.String endpointUri)
public static java.lang.String jndiEntryNameToTopicName(java.lang.String jndiEntryName)
jndiEntryName
- - the JNDI entry name