|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.cics.core.connections.ConfigurationUtils
public class ConfigurationUtils
A collection of utility methods for dealing with ConnectionParameters and ConnectionProfiles
| Constructor Summary | |
|---|---|
ConfigurationUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getHost(IConnectionParameters config)
Returns the host of the supplied connection parameters |
static java.lang.String |
getInternalId(java.lang.String id)
Strips a connection provider ID from the supplied ID, if one is found |
static int |
getPort(IConnectionParameters config)
Returns the port of the supplied connection parameters |
static java.util.List<java.lang.String> |
getPotentialExternalIds(java.lang.String legacyInternalId,
java.lang.String connectionTypeId)
Return the potential external IDs for a legacy internalID |
static java.lang.String |
getProviderId(java.lang.String id)
Returns the connection provider ID component for an external ID |
static boolean |
isExternalId(java.lang.String id)
Returns whether or not the supplied ID is an internal or external one |
static boolean |
isLocalProviderExternalId(java.lang.String id)
Determines whether or not an ID is an external ID for the local connection provider |
static boolean |
isSecureConfirmed(IConnectionParameters config)
Returns whether the supplied config has secure confirmed set. |
static boolean |
isSecureHint(IConnectionParameters config)
Returns whether the supplied config has the secure hint set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationUtils()
| Method Detail |
|---|
public static boolean isSecureHint(IConnectionParameters config)
parameters - the parameters to test
public static boolean isSecureConfirmed(IConnectionParameters config)
parameters - the parameters to test
public static java.lang.String getHost(IConnectionParameters config)
parameters - the parameters to test
public static int getPort(IConnectionParameters config)
parameters - the parameters to test
public static java.util.List<java.lang.String> getPotentialExternalIds(java.lang.String legacyInternalId,
java.lang.String connectionTypeId)
legacyInternalId - legacy ID to useconnectionTypeId - connection type ID to use
List of the potential IDs to usepublic static boolean isExternalId(java.lang.String id)
id - the ID to test
public static java.lang.String getProviderId(java.lang.String id)
id - an external ID
java.lang.IllegalArgumentException - if the supplied ID is not a external IDpublic static boolean isLocalProviderExternalId(java.lang.String id)
id - the ID to analyse
public static java.lang.String getInternalId(java.lang.String id)
externalId -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||