Package de.hybris.bootstrap.loader
Class ClassContainerLocationInfo
java.lang.Object
de.hybris.bootstrap.loader.ClassContainerLocationInfo
Base class loader info container for a jars and folder used in case of platform class loader or web module class
loader.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUsed for a cloning the location info.ClassContainerLocationInfo(String webAppName, ClassLoader ldr, URL url) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAbstractBaseClassloaderInfoImpl could be only compared correctly with otherClassContainerLocationInfoinstances.Gets information about class loader info.File name of the JAR.Gets loader instance itself.intThe number of occurrences of the JAR.getPath()Full path to JAR.Web application name like hmc, hac.inthashCode()booleanFlag determining if the JAR is duplicated.booleanisFolder()toString()
-
Field Details
-
PLATFORM
- See Also:
-
-
Constructor Details
-
ClassContainerLocationInfo
Used for a cloning the location info. -
ClassContainerLocationInfo
-
-
Method Details
-
getOccurrences
public int getOccurrences()The number of occurrences of the JAR. -
getJarName
File name of the JAR. -
getPath
Full path to JAR. -
isFolder
public boolean isFolder()- Returns:
trueif the ressource is a folder and not a jar file.
-
equals
AbstractBaseClassloaderInfoImpl could be only compared correctly with otherClassContainerLocationInfoinstances. -
getProvidedClasses
- Returns:
- a set with
ClassLocationInfowhich displays the content of the resource.
-
hashCode
public int hashCode() -
toString
-
getClassLoaderInfo
Gets information about class loader info. -
getLoader
Gets loader instance itself. -
getWebAppName
Web application name like hmc, hac. -
isDuplicated
public boolean isDuplicated()Flag determining if the JAR is duplicated. Implies that occurrence might above 1.
-