com.ibm.datapower.wamt
Class AbstractPackageInfo

java.lang.Object
  extended by com.ibm.datapower.wamt.AbstractPackageInfo
Direct Known Subclasses:
PackageInfo, PackageInfo

public abstract class AbstractPackageInfo
extends java.lang.Object

Get the SCM (source code management, i.e., CVS metadata) information about all the classes in a package for debug purposes. It is expected that each package will have a class that is a concrete implementation (extends) this one. Given a collection of Classes, in each Class look for a data member "SCM_REVISION" which should be a String and return it. The getInfo() method will be invoked by ComponentInfo. The ComponentInfo class will query the concrete implementations of AbstractPackageInfo in all the packages so you can see all the SCM_REVISION strings of all the classes in all the packages.

When extending this class for a particular package, you need to do only the following:

See Also:
ComponentInfo

Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
static java.lang.String FIELD_NAME
          The name of the field that should exist in every class that contains the String value of the SCM information for that class.
 
Constructor Summary
AbstractPackageInfo()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIELD_NAME

public static final java.lang.String FIELD_NAME
The name of the field that should exist in every class that contains the String value of the SCM information for that class. The specified field should have package access, it needs to be more than private but public isn't necessary.

See Also:
Constant Field Values

COPYRIGHT_2009_2010

public static final java.lang.String COPYRIGHT_2009_2010
See Also:
Constant Field Values
Constructor Detail

AbstractPackageInfo

public AbstractPackageInfo()


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.