public final class JNDIUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INVALID_JNDI_ENTRY |
| Modifier and Type | Method and Description |
|---|---|
static Hashtable<String,String> |
arrayToHashtable(String[] entries,
ConnectorMessages messages)
Parses arrays of string as entries of properties.
|
public static final String INVALID_JNDI_ENTRY
public static Hashtable<String,String> arrayToHashtable(String[] entries, ConnectorMessages messages)
key=value. We use
= as only separator and treat only first occurrence of
=. Blank entries are skipped.entries - could be null or size = 0messages - the error messages from the configuration resource bundleIllegalArgumentException - when there is any error in format of any entryCopyright © 2018–2025. All rights reserved.