Class ModuleJarDefinitionLoader
- java.lang.Object
-
- com.hybris.cockpitng.core.impl.ResourceCockpitComponentLoader
-
- com.hybris.cockpitng.core.impl.JarLibComponentLoader
-
- com.hybris.cockpitng.modules.core.impl.ModuleJarDefinitionLoader
-
- All Implemented Interfaces:
CockpitComponentLoader
public class ModuleJarDefinitionLoader extends JarLibComponentLoader
Component loader that loadsCockpitComponentInfos from a module jar in a subfolder of the widgetlib directory.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEPLOYED_SUBFOLDER_NAME-
Fields inherited from class com.hybris.cockpitng.core.impl.ResourceCockpitComponentLoader
DEFINITION_XML, JAR_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description ModuleJarDefinitionLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ClassLoadergetClassLoader()protected java.lang.StringgetJarDir()protected java.util.List<WidgetJarLibInfo>getJarLibInfos()java.util.Set<CockpitComponentInfo>load(java.lang.ClassLoader classLoader)-
Methods inherited from class com.hybris.cockpitng.core.impl.ResourceCockpitComponentLoader
filterUrls, getDefintionAsStream, getPackageUrlFilter, getResources, getWidgetInfoFiles, getWidgetLibUtils, load, setPackages, setPackageUrlFilter, setWidgetLibUtils
-
-
-
-
Field Detail
-
DEPLOYED_SUBFOLDER_NAME
public static final java.lang.String DEPLOYED_SUBFOLDER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getJarLibInfos
protected java.util.List<WidgetJarLibInfo> getJarLibInfos()
- Overrides:
getJarLibInfosin classJarLibComponentLoader
-
load
public java.util.Set<CockpitComponentInfo> load(java.lang.ClassLoader classLoader)
- Specified by:
loadin interfaceCockpitComponentLoader- Overrides:
loadin classJarLibComponentLoader- Returns:
-
getClassLoader
protected java.lang.ClassLoader getClassLoader()
- Overrides:
getClassLoaderin classJarLibComponentLoader
-
getJarDir
protected java.lang.String getJarDir()
- Overrides:
getJarDirin classJarLibComponentLoader- Returns:
-
-