|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.util.ComponentsLoader
public class ComponentsLoader
Load the available Sakai components into the shared component manager's Spring ApplicationContext
| Constructor Summary | |
|---|---|
ComponentsLoader()
|
|
| Method Summary | |
|---|---|
void |
load(org.springframework.context.ConfigurableApplicationContext ac,
String componentsRoot)
|
protected void |
loadComponentPackage(File dir,
org.springframework.context.ConfigurableApplicationContext ac)
Load one component package into the AC |
protected ClassLoader |
newPackageClassLoader(File dir)
Create the class loader for this component package |
protected boolean |
validComponentsPackage(File dir)
Test if this File is a valid components package directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentsLoader()
| Method Detail |
|---|
public void load(org.springframework.context.ConfigurableApplicationContext ac,
String componentsRoot)
protected void loadComponentPackage(File dir,
org.springframework.context.ConfigurableApplicationContext ac)
packageRoot - The file path to the component packageac - The ApplicationContext to load intoprotected boolean validComponentsPackage(File dir)
dir - The file to test
protected ClassLoader newPackageClassLoader(File dir)
dir - The package's root directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||