Package org.jboss.marshalling
Interface SerializabilityChecker
public interface SerializabilityChecker
A checker to determine whether an object class should be treated as serializable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializabilityChecker
The default serializability checker. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSerializable
(Class<?> clazz) Determine whether an object class is serializable.
-
Field Details
-
DEFAULT
The default serializability checker. Returnstrue
for any class which implementsSerializable
.
-
-
Method Details
-
isSerializable
Determine whether an object class is serializable.- Parameters:
clazz
- the object class to test- Returns:
true
if the object class is serializable,false
otherwise
-