类 JndiServiceImpl

    • 构造器详细资料

      • JndiServiceImpl

        public JndiServiceImpl​(Map configurationValues)
        Constructs a JndiServiceImpl
        参数:
        configurationValues - Map of configuration settings, some of which apply to JNDI support.
    • 方法详细资料

      • extractJndiProperties

        public static Properties extractJndiProperties​(Map configurationValues)
        Given a hodgepodge of properties, extract out the ones relevant for JNDI interaction.
        参数:
        configurationValues - The map of config values
        返回:
        The extracted JNDI specific properties.
      • locate

        public Object locate​(String jndiName)
        从接口复制的说明: JndiService
        Locate an object in JNDI by name
        指定者:
        locate 在接口中 JndiService
        参数:
        jndiName - The JNDI name of the object to locate
        返回:
        The object found (may be null).
      • bind

        public void bind​(String jndiName,
                         Object value)
        从接口复制的说明: JndiService
        Binds a value into JNDI by name.
        指定者:
        bind 在接口中 JndiService
        参数:
        jndiName - The name under which to bind the object
        value - The value to bind
      • unbind

        public void unbind​(String jndiName)
        从接口复制的说明: JndiService
        Unbind a value from JNDI by name.
        指定者:
        unbind 在接口中 JndiService
        参数:
        jndiName - The name under which the object is bound