|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.toa.service.ToaServiceChannel
public class ToaServiceChannel
Models a Toa Service Channel.
Constructor Summary | |
---|---|
ToaServiceChannel(ToaService service,
String busName,
String name,
String key)
Create a new ToaServiceChannel |
Method Summary | |
---|---|
String |
getBusName()
Gets the bus name. |
Properties |
getInitialKRT()
Gets the initial key resolution table for this channel. |
String |
getInitiallyResolvedKey()
Gets the key as resolved by initial key resolution. |
String |
getKey()
Gets the channel key. |
String |
getName()
Gets the channel name possibly qualified by prepending the service name in lowercase. |
ToaService |
getService()
|
String |
getSimpleName()
Gets the channel name without it's service name prefix. |
void |
setBusName(String busName)
Sets the busName for this channel. |
void |
setInitialKRT(Properties initialKRT)
Sets the initial key resolution table for this service channel. |
void |
setInitiallyResolvedKey(String resolvedKey)
Sets the key as resolved by the initial key resolution. |
void |
setKey(String key)
Sets the channel key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ToaServiceChannel(ToaService service, String busName, String name, String key)
ToaServiceChannel
name
- The channel name.key
- The channel key.Method Detail |
---|
public void setBusName(String busName)
busName
- The busName.public final String getBusName()
public ToaService getService()
public final String getSimpleName()
public final String getName()
For example if the service is 'OrderProcessingService' and the channel name is 'Orders', and the service is set to prefix its channel name, then return 'orderprocessingservice-Orders', otherwise return 'Orders'.
public final String getKey()
public final void setKey(String key)
public final void setInitialKRT(Properties initialKRT)
An initial KRT can be used to substitute in variable key portions of the channel key.
initialKRT
- The Initial KRT.public final Properties getInitialKRT()
Gets the initial KRT that was resolved for this channel (if one has been resolved).
public void setInitiallyResolvedKey(String resolvedKey)
This is the key that is used to create the channel with AepEngine which is done after initial key resolution.
This key may still have variable components if initial key resolution didn't resolve all of the variable components.
It may also be the same as the getKey()
if initial key resolution didn't
result in any variable key component resolution.
resolvedKey
- The initial key resolution table resolved key.public String getInitiallyResolvedKey()
This is the key that is used to create the channel with AepEngine which is
done after initial key resolution. This values can be derived by taking
getInitialKRT()
and applying it against getKey()
This key may still have variable components if initial key resolution didn't resolve all of the variable components.
It may also be the same as the getKey()
if initial key resolution didn't
result in any variable key component resolution.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |