|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jndi.JndiAccessor
public class JndiAccessor
Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.
setJndiTemplate(org.springframework.jndi.JndiTemplate)
,
setJndiEnvironment(java.util.Properties)
Field Summary | |
---|---|
protected Log |
logger
Logger, available to subclasses. |
Constructor Summary | |
---|---|
JndiAccessor()
|
Method Summary | |
---|---|
Properties |
getJndiEnvironment()
Return the JNDI environment to use for JNDI lookups. |
JndiTemplate |
getJndiTemplate()
Return the JNDI template to use for JNDI lookups. |
void |
setJndiEnvironment(Properties jndiEnvironment)
Set the JNDI environment to use for JNDI lookups. |
void |
setJndiTemplate(JndiTemplate jndiTemplate)
Set the JNDI template to use for JNDI lookups. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Log logger
Constructor Detail |
---|
public JndiAccessor()
Method Detail |
---|
public void setJndiTemplate(JndiTemplate jndiTemplate)
You can also specify JNDI environment settings via "jndiEnvironment".
public JndiTemplate getJndiTemplate()
public void setJndiEnvironment(Properties jndiEnvironment)
Creates a JndiTemplate with the given environment settings.
public Properties getJndiEnvironment()
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |