Package org.apache.naming.resources
This package contains the resources directory context implemetation. This includes :
- A CacheDirContext which handles caching and acts as a proxy for the real resources context
- A FileDirContext, an implementation of DirContext to access the filesystem
-
Interface Summary Interface Description JarFileResourcesProvider This interface provides a list of jars to search resources. -
Class Summary Class Description BaseDirContext Directory Context implementation helper class.CacheEntry Implements a cache entry.Constants Static constants for this package.DirContextURLConnection Connection to a JNDI directory context.DirContextURLStreamHandler Stream handler to a JNDI directory context.DirContextURLStreamHandlerFactory Factory for Stream handlers to a JNDI directory context.DirContextURLStreamHandlerService This class is responsible for addingDirContextURLStreamHandler
to OSGi service registry.FileDirContext Filesystem Directory Context implementation helper class.FileDirContext.FileResource This specialized resource implementation avoids opening the InputStream to the file right away (which would put a lock on the file).FileDirContext.FileResourceAttributes This specialized resource attribute implementation does some lazy reading (to speed up simple checks, like checking the last modified date).ProxyDirContext Proxy Directory Context implementation.RecyclableNamingEnumeration<E> Naming enumeration implementation.Resource Encapsultes the contents of a resource.ResourceAttributes Attributes implementation.ResourceCache Implements a special purpose cache.WARDirContext WAR Directory Context implementation.WARDirContext.Entry Entries structure.WebDirContext Filesystem Directory Web Context implementation helper class.WebDirContext.JarFileEntry WebDirContext.JarResource This specialized resource implementation avoids opening the InputStream to the jar entry right away (which would put a lock on the jar file).WebDirContext.JarResourceAttributes This specialized resource attribute implementation does some lazy reading (to speed up simple checks, like checking the last modified date).WebNamingStartup SeeDirContextURLStreamHandlerService
for reason behind this startup service. -
Exception Summary Exception Description ImmutableNameNotFoundException Immutable exception to avoid useless object creation by the proxy context.