Interface PackageInfo
- All Superinterfaces:
Info
Info object type representing a java package.
The name and qualified name of a package info object are the same.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringNaming constant: The prefix for thejavapackage, (with a trailing ".").static final StringNaming constant: The prefix for thejavaxpackage, (with a trailing ".").static final StringNaming constant: The prefix for thejavax.ejbpackage, (with a trailing ".").static final StringNaming constant: The prefix for thejavax.servletpackage, (with a trailing "."). -
Method Summary
Modifier and TypeMethodDescriptionbooleanTell if this package info represents a failed load.booleanTell if this package info was created to represent a package which either could not be loaded, or which has no declared package information.Methods inherited from interface com.ibm.wsspi.anno.info.Info
getAnnotation, getAnnotation, getAnnotations, getDeclaredAnnotation, getDeclaredAnnotation, getDeclaredAnnotations, getHashText, getInfoStore, getModifiers, getName, getQualifiedName, isAnnotationPresent, isAnnotationPresent, isAnnotationWithin, isDeclaredAnnotationPresent, isDeclaredAnnotationPresent, isDeclaredAnnotationWithin, isPackagePrivate, isPrivate, isProtected, isPublic, log
-
Field Details
-
JAVA_CLASS_PREFIX
Naming constant: The prefix for the
javapackage, (with a trailing ".").- See Also:
-
JAVAX_CLASS_PREFIX
Naming constant: The prefix for the
javaxpackage, (with a trailing ".").- See Also:
-
JAVAX_EJB_CLASS_PREFIX
Naming constant: The prefix for the
javax.ejbpackage, (with a trailing ".").- See Also:
-
JAVAX_SERVLET_CLASS_PREFIX
Naming constant: The prefix for the
javax.servletpackage, (with a trailing ".").- See Also:
-
-
Method Details
-
getIsArtificial
boolean getIsArtificial()Tell if this package info was created to represent a package which either could not be loaded, or which has no declared package information.
- Returns:
- True if this package object is artificial. Otherwise, false.
-
getForFailedLoad
boolean getForFailedLoad()Tell if this package info represents a failed load. This is a special case for artificial packages, and represents the case when declared package information is available, but could not be loaded.
- Returns:
- True if this package object is for a failed load. Otherwise, false.
-