org.apache.naming.handler.jndi |
Handler
Objects stored in the directory may have content - and act as a VFS.
This package deals with accessing files in the directory using URLs.
There are 2 cases:
1. Generic access via InitialContext. We will use a naming structure
under the InitialContext to locate the file.
jndi:/my/path
will be translated to a lookup for '/my/path'.
2. The old behavior: the thread is specifically bound to a
ProxyContext, then this is used to locate files in the particular
webapp. We'll emulate this by treating jndi: as a reference
to a particular branch in the java: webpp resource.
|
Java Source File Name | Type | Comment |
DirContextURLConnection.java | Class | Connection to a JNDI directory context.
Note: All the object attribute names are the WebDAV names, not the HTTP
names, so this class overrides some methods from URLConnection to do the
queries using the right names. |
DirContextURLStreamHandler.java | Class | Stream handler to a JNDI directory context. |
DirContextURLStreamHandlerFactory.java | Class | Factory for Stream handlers to a JNDI directory context. |
Handler.java | Class | Stream handler to a JNDI directory context. |