public class

JndiAccessor

extends Object
java.lang.Object
   ↳ org.springframework.jndi.JndiAccessor
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.

Summary

Fields
protected final Log logger Logger, available to subclasses.
Public Constructors
JndiAccessor()
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected final Log logger

Logger, available to subclasses.

Public Constructors

public JndiAccessor ()

Public Methods

public Properties getJndiEnvironment ()

Return the JNDI environment to use for JNDI lookups.

public JndiTemplate getJndiTemplate ()

Return the JNDI template to use for JNDI lookups.

public void setJndiEnvironment (Properties jndiEnvironment)

Set the JNDI environment to use for JNDI lookups.

Creates a JndiTemplate with the given environment settings.

public void setJndiTemplate (JndiTemplate jndiTemplate)

Set the JNDI template to use for JNDI lookups.

You can also specify JNDI environment settings via "jndiEnvironment".