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
Fields Modifier and Type Field Description static SerializabilityChecker
DEFAULT
The default serializability checker.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSerializable(Class<?> clazz)
Determine whether an object class is serializable.
-
-
-
Field Detail
-
DEFAULT
static final SerializabilityChecker DEFAULT
The default serializability checker. Returnstrue
for any class which implementsSerializable
.
-
-
Method Detail
-
isSerializable
boolean isSerializable(Class<?> clazz)
Determine whether an object class is serializable.- Parameters:
clazz
- the object class to test- Returns:
true
if the object class is serializable,false
otherwise
-
-