org.jboss.tools
Class SerialVersionUID

java.lang.Object
  extended byorg.jboss.tools.SerialVersionUID

public class SerialVersionUID
extends java.lang.Object

A tool/service that computes all the class serialVersionUIDs under the jboss home directory.


Constructor Summary
SerialVersionUID()
           
 
Method Summary
static java.util.Map generateJBossSerialVersionUIDReport(java.io.File jbossHome)
          Create a Map for the jboss dist jars.
static java.util.Map generateRISerialVersionUIDReport(java.io.File j2eeHome)
          Create a Map for the jboss dist jars.
static void main(java.lang.String[] args)
          Generate a mapping of the serial version UIDs for the serializable classes under the jboss dist directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialVersionUID

public SerialVersionUID()
Method Detail

generateJBossSerialVersionUIDReport

public static java.util.Map generateJBossSerialVersionUIDReport(java.io.File jbossHome)
                                                         throws java.io.IOException
Create a Map for the jboss dist jars.

Parameters:
jbossHome - - the jboss dist root directory
Returns:
Map
Throws:
java.io.IOException

generateRISerialVersionUIDReport

public static java.util.Map generateRISerialVersionUIDReport(java.io.File j2eeHome)
                                                      throws java.io.IOException
Create a Map for the jboss dist jars.

Parameters:
j2eeHome - - the j2ee ri dist root directory
Returns:
Map
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Generate a mapping of the serial version UIDs for the serializable classes under the jboss dist directory

Parameters:
args - - [0] = jboss dist root directory
Throws:
java.lang.Exception