类 JndiAccessor

java.lang.Object
cn.taketoday.jndi.JndiAccessor
直接已知子类:
JndiLocatorSupport

public class JndiAccessor extends Object
Convenient superclass for JNDI accessors, providing "jndiTemplate" and "jndiEnvironment" bean properties.
从以下版本开始:
4.0
作者:
Juergen Hoeller
另请参阅:
  • 字段详细资料

    • logger

      protected final cn.taketoday.logging.Logger logger
      Logger, available to subclasses.
  • 构造器详细资料

    • JndiAccessor

      public JndiAccessor()
  • 方法详细资料

    • setJndiTemplate

      public void setJndiTemplate(@Nullable JndiTemplate jndiTemplate)
      Set the JNDI template to use for JNDI lookups.

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

      另请参阅:
    • getJndiTemplate

      public JndiTemplate getJndiTemplate()
      Return the JNDI template to use for JNDI lookups.
    • setJndiEnvironment

      public void setJndiEnvironment(@Nullable Properties jndiEnvironment)
      Set the JNDI environment to use for JNDI lookups.

      Creates a JndiTemplate with the given environment settings.

      另请参阅:
    • getJndiEnvironment

      @Nullable public Properties getJndiEnvironment()
      Return the JNDI environment to use for JNDI lookups.