public class JNDIConfig extends AbstractConfig
+-------------------+--------------------+ | Property Name | Init-Param Name | +-------------------+--------------------+ | jndi.enable | {provider spec.} | | java.naming.* | java.naming.* | +-------------------+--------------------+
valid
Constructor and Description |
---|
JNDIConfig(BootstrapConfig parentConfig) |
Modifier and Type | Method and Description |
---|---|
boolean |
enabled() |
String |
getJndiEnabled() |
Properties |
getJndiEnv() |
String |
getJndiName() |
void |
init(Properties props) |
void |
init(javax.servlet.ServletConfig ctx) |
void |
setJndiEnabled(String jndiEnabled) |
void |
setJndiName(String jndiName) |
void |
validate() |
isValid, logInfos
public JNDIConfig(BootstrapConfig parentConfig)
public String getJndiName()
public void setJndiName(String jndiName)
public boolean enabled()
public String getJndiEnabled()
public void setJndiEnabled(String jndiEnabled)
public Properties getJndiEnv()
public void init(Properties props) throws javax.servlet.ServletException
javax.servlet.ServletException
public void init(javax.servlet.ServletConfig ctx) throws javax.servlet.ServletException
javax.servlet.ServletException
public void validate()
validate
in class AbstractConfig
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.