com.ibm.wsspi.anno.info

Interface PackageInfo

All Superinterfaces:
Info

  1. public interface PackageInfo
  2. extends Info

Info object type representing a java package.

The name and qualified name of a package info object are the same.


Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
JAVA_CLASS_PREFIX
Naming constant: The prefix for the java package, (with a trailing ".").
  1. static
  2. java.lang.String
JAVAX_CLASS_PREFIX
Naming constant: The prefix for the javax package, (with a trailing ".").
  1. static
  2. java.lang.String
JAVAX_EJB_CLASS_PREFIX
Naming constant: The prefix for the javax.ejb package, (with a trailing ".").
  1. static
  2. java.lang.String
JAVAX_SERVLET_CLASS_PREFIX
Naming constant: The prefix for the javax.servlet package, (with a trailing ".").

Method Summary

Modifier and Type Method and Description
  1. boolean
getForFailedLoad()
Tell if this package info represents a failed load.
  1. 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.
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 Detail

JAVA_CLASS_PREFIX

  1. static final java.lang.String JAVA_CLASS_PREFIX

Naming constant: The prefix for the java package, (with a trailing ".").

See Also:

JAVAX_CLASS_PREFIX

  1. static final java.lang.String JAVAX_CLASS_PREFIX

Naming constant: The prefix for the javax package, (with a trailing ".").

See Also:

JAVAX_EJB_CLASS_PREFIX

  1. static final java.lang.String JAVAX_EJB_CLASS_PREFIX

Naming constant: The prefix for the javax.ejb package, (with a trailing ".").

See Also:

JAVAX_SERVLET_CLASS_PREFIX

  1. static final java.lang.String JAVAX_SERVLET_CLASS_PREFIX

Naming constant: The prefix for the javax.servlet package, (with a trailing ".").

See Also:

Method Detail

getIsArtificial

  1. 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

  1. 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.