Package org.jboss.marshalling
Interface SerializabilityChecker
public interface SerializabilityChecker
A checker to determine whether an object class should be treated as serializable.
- Author:
- David M. Lloyd
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializabilityCheckerThe default serializability checker. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSerializable(Class<?> clazz) Determine whether an object class is serializable.
-
Field Details
-
DEFAULT
The default serializability checker. Returnstruefor any class which implementsSerializable.
-
-
Method Details
-
isSerializable
Determine whether an object class is serializable.- Parameters:
clazz- the object class to test- Returns:
trueif the object class is serializable,falseotherwise
-