Chapter 11. jndi
11.1. jndi:alias
11.1.1. Description
Create a JNDI alias on a given name.
11.1.2. Syntax
jndi:alias [options] name alias
11.1.3. Arguments
| Name | Description |
|---|---|
| name | The JNDI name |
| alias | The JNDI alias |
11.1.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.2. jndi:bind
11.2.1. Description
Bind an OSGi service in the JNDI context
11.2.2. Syntax
jndi:bind [options] service name
11.2.3. Arguments
| Name | Description |
|---|---|
| service | The ID of the OSGi service to bind |
| name | The JNDI name to bind the OSGi service |
11.2.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.3. jndi:contexts
11.3.1. Description
List the JNDI sub-contexts.
11.3.2. Syntax
jndi:contexts [options] [context]
11.3.3. Arguments
| Name | Description |
|---|---|
| context | The base JNDI context |
11.3.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.4. jndi:create
11.4.1. Description
Create a new JNDI sub-context.
11.4.2. Syntax
jndi:create [options] context
11.4.3. Arguments
| Name | Description |
|---|---|
| context | The JNDI sub-context name |
11.4.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.5. jndi:delete
11.5.1. Description
Delete a JNDI sub-context.
11.5.2. Syntax
jndi:delete [options] context
11.5.3. Arguments
| Name | Description |
|---|---|
| context | The JNDI sub-context name |
11.5.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.6. jndi:names
11.6.1. Description
List the JNDI names.
11.6.2. Syntax
jndi:names [options] [context]
11.6.3. Arguments
| Name | Description |
|---|---|
| context | The JNDI context to display the names |
11.6.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |
11.7. jndi:unbind
11.7.1. Description
Unbind a JNDI name.
11.7.2. Syntax
jndi:unbind [options] name
11.7.3. Arguments
| Name | Description |
|---|---|
| name | The JNDI name to unbind |
11.7.4. Options
| Name | Description |
|---|---|
| --help | Display this help message |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.