org.jboss.tools
Class SerialVersionUID

java.lang.Object
  extended by org.jboss.tools.SerialVersionUID

public class SerialVersionUID
extends Object

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

Version:
$Revision: 57210 $
Author:
Scott.Stark@jboss.org

Constructor Summary
SerialVersionUID()
           
 
Method Summary
static Map generateJBossSerialVersionUIDReport(File jbossHome)
          Create a Map for the jboss dist jars.
static Map generateRISerialVersionUIDReport(File j2eeHome)
          Create a Map for the jboss dist jars.
static void main(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 Map generateJBossSerialVersionUIDReport(File jbossHome)
                                               throws IOException
Create a Map for the jboss dist jars.

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

generateRISerialVersionUIDReport

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

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

main

public static void main(String[] args)
                 throws 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:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.