public class JNDIResourceLoader extends StreamResourceLoader
ResourceLoader that loads JNDI resources.| Constructor and Description |
|---|
JNDIResourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getSchema()
Returns the schema name associated with the loader.
|
protected InputStream |
openStream(String path)
Returns an
InputStream for reading the resource. |
exists, load, readStreamprotected String getSchema()
StreamResourceLoadergetSchema in class StreamResourceLoaderprotected InputStream openStream(String path) throws IOException
StreamResourceLoaderInputStream for reading the resource.openStream in class StreamResourceLoaderpath - the path of the resource.InputStream or null if the resource does not
exist.IOException - when i/o operation fails.Copyright © 2014 Asual DZZD. All Rights Reserved.