public class ADFLibUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.ServletContext |
_sc |
static java.lang.String |
OVERRIDE_CLASS_NAME |
Modifier | Constructor and Description |
---|---|
protected |
ADFLibUtils(javax.servlet.ServletContext sc) |
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
getADFLibraryLoader()
Return the single class loader initialized for the servlet context.
|
java.net.URL[] |
getADFLibraryURLs() |
java.net.URL[] |
getADFLibraryURLs(java.lang.ClassLoader lookup) |
static ADFLibUtils |
getInstance(javax.servlet.ServletContext sc)
Normal webapp lifecycle would automatically take care of the setup,
otherwise, the caller can specify an OVERRIDE_CLASS_NAME in the passed
in ServletContext instance (an extends of this class) which would be
instanciated and a reference to it held in the ServletContext and returned
on subsequent calls to this method.
|
protected void |
setADFLibraryLoader(java.lang.ClassLoader loader) |
public static final java.lang.String OVERRIDE_CLASS_NAME
protected volatile javax.servlet.ServletContext _sc
public static ADFLibUtils getInstance(javax.servlet.ServletContext sc)
sc
- ServletContext or nullpublic java.lang.ClassLoader getADFLibraryLoader()
protected void setADFLibraryLoader(java.lang.ClassLoader loader)
public java.net.URL[] getADFLibraryURLs() throws java.io.IOException
java.io.IOException
public java.net.URL[] getADFLibraryURLs(java.lang.ClassLoader lookup) throws java.io.IOException
java.io.IOException