public class JndiBuilderParametersImpl extends BasicBuilderParameters implements JndiBuilderProperties<JndiBuilderParametersImpl>
A specialized parameters object for JNDI configurations.
In addition to the basic properties common to all configuration implementations, a JNDI configuration has some
special properties defining the subset of the JNDI tree to be managed. This class provides fluent methods for setting
these. The getParameters()
method puts all properties defined by the user in a map from where they can be
accessed by a builder for JNDI configurations.
This class is not thread-safe. It is intended that an instance is constructed and initialized by a single thread
during configuration of a ConfigurationBuilder
.
RESERVED_PARAMETER_PREFIX
Constructor and Description |
---|
JndiBuilderParametersImpl() |
Modifier and Type | Method and Description |
---|---|
JndiBuilderParametersImpl |
setContext(Context ctx)
Sets the JNDI context to be used by the JNDI configuration.
|
JndiBuilderParametersImpl |
setPrefix(String p)
Sets the prefix in the JNDI tree.
|
clone, copyPropertiesFrom, fetchBeanHelper, fetchInterpolatorSpecification, fetchProperty, getParameters, inheritFrom, merge, setBeanHelper, setConfigurationDecoder, setConversionHandler, setDefaultLookups, setInterpolator, setListDelimiterHandler, setLogger, setParentInterpolator, setPrefixLookups, setSynchronizer, setThrowExceptionOnMissing, storeProperty
public JndiBuilderParametersImpl()
public JndiBuilderParametersImpl setContext(Context ctx)
JndiBuilderProperties
setContext
in interface JndiBuilderProperties<JndiBuilderParametersImpl>
ctx
- the JNDI Context
public JndiBuilderParametersImpl setPrefix(String p)
JndiBuilderProperties
setPrefix
in interface JndiBuilderProperties<JndiBuilderParametersImpl>
p
- the prefixCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.