|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
org.jasig.portal.car.CarClassLoader
Loads classes and resources from installed CARs via the CarResources class. If classes are visible via the parent class loader then they will be used in place of those in the CARs. This is a singleton so that we have a single unified class namespace for all car resources preventing linkage errors and class cast exceptions.
Field Summary | |
static java.lang.String |
RCS_ID
|
Method Summary | |
java.lang.Class |
findClass(java.lang.String name)
Implement the overloading of findClass to return classes that are available from installed CAR files. |
java.net.URL |
findResource(java.lang.String res)
Returns a URL pointing to a car resource if a suitable resource is found in the loaded set of CAR files or null if one is not found. |
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String RCS_ID
Method Detail |
public java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public java.net.URL findResource(java.lang.String res)
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |