public final class ClassFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.Class<?>,java.lang.Object> |
all |
ClassContainer |
classContainer |
ConfigurationContainer |
configuration |
private java.util.ArrayList<PluginBean<PluginInitialize>> |
pluginInitializes |
Constructor and Description |
---|
ClassFactory(java.lang.Class<?> mainClass) |
Modifier and Type | Method and Description |
---|---|
void |
after() |
private void |
autowired() |
private void |
findClassLoader(java.lang.ClassLoader classLoader,
java.util.List<java.lang.ClassLoader> classLoaders) |
private java.util.LinkedHashSet<java.lang.String> |
getAllClassName(java.lang.ClassLoader classLoader) |
private <T> java.util.ArrayList<T> |
getService(java.lang.Class<T> type) |
private java.util.List<java.net.URL> |
getUrls(java.lang.ClassLoader classLoader) |
private void |
initializePlugin() |
public final ClassContainer classContainer
public final ConfigurationContainer configuration
private final java.util.ArrayList<PluginBean<PluginInitialize>> pluginInitializes
private final java.util.HashMap<java.lang.Class<?>,java.lang.Object> all
public void after()
private void initializePlugin()
private void autowired()
private <T> java.util.ArrayList<T> getService(java.lang.Class<T> type)
private java.util.LinkedHashSet<java.lang.String> getAllClassName(java.lang.ClassLoader classLoader)
private void findClassLoader(java.lang.ClassLoader classLoader, java.util.List<java.lang.ClassLoader> classLoaders)
private java.util.List<java.net.URL> getUrls(java.lang.ClassLoader classLoader)