JNDI文件系统的服务提供者 [英] JNDI Service provider for the file system

查看:162
本文介绍了JNDI文件系统的服务提供者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在为文件系统寻找Java命名和目录接口(JNDI)服务提供程序。据我所知,Oracle发布了仅用于RMI,DNS,LDAP和COS的JDK服务提供商。看起来Sun曾经提供过一个,因为我的Google搜索返回了许多网站和论坛,其中包括Coderanch建议从 Sun的JNDI页面下载文件系统SP,但现在该页面重定向到Java Technetwork的主页面。此外, Oracle的JNDI页面未提供有关的信息文件系统SP在Java教程的JNDI路径中的某处,他们建议您从上面提到的JNDI页面下载它,并提供使用它来查找名称的示例。在Oracle的网站上搜索也没有产生任何结果。

I was looking for the Java Naming and Directory Interface (JNDI) service provider for the file system. As far as I know, Oracle ships bundled with the JDK only service providers for RMI, DNS, LDAP and COS. It looks like Sun used to provide one, because my Google search returned a number of Web-sites and forums including Coderanch where people suggested downloading the file system SP from Sun's JNDI page, but that page now redirects to Java Technetwork's main page. Also, Oracle's JNDI page gives no information about the file system SP while somewhere in the JNDI trail of the Java tutorial they suggest you to download it from the above-mentioned JNDI page and provide examples of using it to look up a name. Search on the Oracle's Web-site also did not yield anything.

我的问题由两部分组成:

My question is composed of two parts:

1)Sun的JNDI文件系统服务提供商发生了什么,是否仍然可以以某种方式/某处获得其任何版本?

1) What happened to the Sun's JNDI filesystem service provider and is it still possible to get any of its versions somehow/somewhere?

2)他们的任何替代文件系统SP对于JNDI?

2) Are their any alternative filesystem SPs for the JNDI?

提前感谢您的帮助。

推荐答案

在maven central和mvnrepository.com以及jfrog中找不到。
目前(2015)发现在oracle档案手动下载,对于maven类似的依赖,这里是pom.xml:

Not found in maven central and mvnrepository.com and jfrog. Currently (2015) found at oracle archive to download manually and for maven a similar dependency here is the pom.xml:

<dependency>
   <groupId>com.sun.messaging.mq</groupId>
   <artifactId>fscontext</artifactId>
   <version>4.6-b01</version>
</dependency>

这篇关于JNDI文件系统的服务提供者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆