Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2006 BEA Systems, Inc. All Rights Reserved
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.compoze.collab.util
Class SerializabilityTest

    java.lang.Object
      com.compoze.collab.util.SerializabilityTest

    public class SerializabilityTest

extends Object

Tests a class for serializability.

Field Summary
`static int` | `RESULT_FAIL`
`static int` | `RESULT_PASS`
`static int` | `RESULT_UNKNOWN`

Constructor Summary
`SerializabilityTest()`

Method Summary
`static void` | `classDrill(Class clazz, Set set)` Drills into a class's fields and adds all referenced classes.
`static String` | `getStatusString(int iSer)` Gets a string associated with a serializability constant.
`static int` | `isSerializable(Class clazz)` Determines whether a class implements serializable.
`static void` | `main(String[] args)` Main.
`static int` | `testInstantiation(Class clazz)` Tests an instantiation of the class to see if it is serializable.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### RESULT_FAIL

    public static final int RESULT_FAIL

See Also
  Constants Summary

### RESULT_UNKNOWN

    public static final int RESULT_UNKNOWN

See Also
  Constants Summary

### RESULT_PASS

    public static final int RESULT_PASS

See Also
  Constants Summary

Constructor Detail

### SerializabilityTest

    public SerializabilityTest()

Method Detail

### classDrill

    public static void classDrill(Class clazz,
                                  Set set)

  Drills into a class's fields and adds all referenced classes.

### isSerializable

    public static int isSerializable(Class clazz)

  Determines whether a class implements serializable.

### testInstantiation

    public static int testInstantiation(Class clazz)

  Tests an instantiation of the class to see if it is serializable.

### getStatusString

    public static String getStatusString(int iSer)

  Gets a string associated with a serializability constant.

### main

    public static void main(String[] args)

  Main.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 BEA Systems, Inc. All Rights Reserved