| Modifier and Type | Field and Description |
|---|---|
| private final Hashtable | |
| private static final CoreMessageLogger |
| Access | Constructor and Description |
|---|---|
| public | JndiServiceImpl(Map<?, ?>
Map of configuration settings, some of which apply to JNDI support. configurationValues)Constructs a JndiServiceImpl |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListener(String
The JNDI namespace jndiName, NamespaceChangeListener The listener listener)Implements org. |
| private static boolean | |
| public void | bind(String
The name under which to bind the object jndiName, Object The value to bind value)Implements org. |
| private void | |
| private InitialContext | |
| private void | |
| private static Hashtable | Returns: The extracted JNDI specific properties.The map of config values configurationValues)Given a hodgepodge of properties, extract out the ones relevant for JNDI interaction. |
| public Object | locate(String
The JNDI name of the object to locate jndiName)Implements org. |
| private Name | |
| public void | unbind(String
The name under which the object is bound jndiName)Implements org. |
| initialContextSettings | back to summary |
|---|---|
| private final Hashtable<String, Object> initialContextSettings | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| JndiServiceImpl | back to summary |
|---|---|
| public JndiServiceImpl(Map<?, ?> configurationValues) Constructs a JndiServiceImpl
| |
| addListener | back to summary |
|---|---|
| public void addListener(String jndiName, NamespaceChangeListener listener) Implements org. Doc from org. Adds the specified listener to the given JNDI namespace.
| |
| allowedScheme | back to summary |
|---|---|
| private static boolean allowedScheme(final String scheme) | |
| bind | back to summary |
|---|---|
| public void bind(String jndiName, Object value) Implements org. Doc from org. Binds a value into JNDI by name. | |
| bind | back to summary |
|---|---|
| private void bind(Name name, Object value, Context context) | |
| buildInitialContext | back to summary |
|---|---|
| private InitialContext buildInitialContext() | |
| cleanUp | back to summary |
|---|---|
| private void cleanUp(InitialContext initialContext) | |
| extractJndiProperties | back to summary |
|---|---|
| private static Hashtable Given a hodgepodge of properties, extract out the ones relevant for JNDI interaction. | |
| locate | back to summary |
|---|---|
| public Object locate(String jndiName) Implements org. Doc from org. Locate an object in JNDI by name | |
| parseName | back to summary |
|---|---|
| private Name parseName(String jndiName, Context context) | |
| unbind | back to summary |
|---|---|
| public void unbind(String jndiName) Implements org. Doc from org. Unbind a value from JNDI by name. | |