public class ClientInfoProvider extends Object implements Serializable
If an application (ex: SolJMS) needs to override client information, subclass
this and give an instance of your own ClientInfoProvider in JCSMPProperties
using the SECRET property key {link
JCSMPProperties.CLIENT_INFO_PROVIDER.
sessionProp.setProperty(JCSMPProperties.CLIENT_INFO_PROVIDER, new MyInfoProvider());
| Constructor and Description |
|---|
ClientInfoProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Hostname.
|
int |
getPid()
Process ID.
|
String |
getPlatform()
Platform string.
|
String |
getSoftwareDate()
Software date string.
|
String |
getSoftwareVersion()
Software version string.
|
String |
getUserId()
Username
|
String |
getUserIdExtended()
Extended UserId.
|
String |
toString() |
public String getSoftwareVersion()
public String getSoftwareDate()
public String getPlatform()
public String getUserId()
public String getUserIdExtended()
public String getHostname()
public int getPid()
Copyright 2004-2019 Solace Corporation. All rights reserved.