|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentClassManager
Provides methods to help load and instantiate classes that can handle OSGi plugins with their ClassLoaders and Components that don't live in Pico Container.
Method Summary | ||
---|---|---|
|
loadClass(String className)
Load a class from Jira core, or a plugin including plugins that are not enabled. |
|
|
newInstance(String className)
Instantiates the named class using OSGi ClassLoaders and Pico/Spring injection as appropriate. |
Method Detail |
---|
<T> T newInstance(String className) throws ClassNotFoundException
className
- the name of the class to instantiate.
ClassNotFoundException
- if the given className was not able to be loaded.<T> Class<T> loadClass(String className) throws ClassNotFoundException
T
- The Class type.className
- Fully qualified class name.
ClassNotFoundException
- if the given className was not able to be loaded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |