| java.lang.Object | ||
| ↳ | org.springframework.core.env.PropertySource<T> | |
| ↳ | org.springframework.jndi.JndiPropertySource | |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | JNDI_PROPERTY_SOURCE_ENABLED_FLAG | Name of property used to determine if a JndiPropertySource
should be registered by default: {@value }
|
|||||||||
| String | JNDI_PROPERTY_SOURCE_NAME | JNDI context property source name: {@value } | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.env.PropertySource
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
JndiPropertySource with the default name
{@value #JNDI_PROPERTY_SOURCE_NAME} and create a new InitialContext
as the source object. | |||||||||||
Create a new
JndiPropertySource with the given name and
create a new InitialContext as the source object. | |||||||||||
Create a new
JndiPropertySource with the given name and
use the given jndiEnvironment properties to create a new
InitialContext as the source object. | |||||||||||
Create a new
JndiPropertySource with the given name and
JNDI Context. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Look up and return the given name from the source JNDI
Context. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.env.PropertySource
| |||||||||||
From class
java.lang.Object
| |||||||||||
Name of property used to determine if a JndiPropertySource
should be registered by default: {@value }
JNDI context property source name: {@value }
Create a new JndiPropertySource with the default name
{@value #JNDI_PROPERTY_SOURCE_NAME} and create a new InitialContext
as the source object.
| JndiLookupFailureException | if a new InitialContext cannot be created. |
|---|
Create a new JndiPropertySource with the given name and
create a new InitialContext as the source object.
| JndiLookupFailureException | if a new InitialContext cannot be created. |
|---|
Create a new JndiPropertySource with the given name and
use the given jndiEnvironment properties to create a new
InitialContext as the source object.
| JndiLookupFailureException | if a new InitialContext cannot be created. |
|---|
Create a new JndiPropertySource with the given name and
JNDI Context.
Look up and return the given name from the source JNDI Context.
| name | the property key to find |
|---|
| JndiLookupFailureException |
|---|