|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cyclops.albumbuilder.ComponentLoader
Temporary component loader class, it'll be replaced by some common framework in the future 惩前毖后,治病救人
Constructor Summary | |
ComponentLoader(Configuration conf)
Constructor method for class ComponentLoader |
Method Summary | |
void |
executeComponent(Class clazz)
Method executeComponent() |
void |
executeComponent(String className)
Method executeComponent() |
Object |
getComponent(Class clazz)
Method getComponent() |
Object |
getComponent(String className)
Method getComponent() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComponentLoader(Configuration conf)
conf
- Configuration objectMethod Detail |
public void executeComponent(Class clazz) throws Exception
clazz
- Requested class
Exception
- Just throw it outpublic void executeComponent(String className) throws Exception
className
- Name of requested class
Exception
- Just throw it outpublic Object getComponent(Class clazz) throws Exception
clazz
- Class of the component
Exception
- Just throw it outpublic Object getComponent(String className) throws Exception
className
- Name of requested class
Exception
- Just throw it out
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |