Class JavaSerializationHint
java.lang.Object
org.springframework.aot.hint.JavaSerializationHint
- All Implemented Interfaces:
ConditionalHint
@Deprecated(since="7.0.6",
forRemoval=true)
public final class JavaSerializationHint
extends Object
implements ConditionalHint
Deprecated, for removal: This API element is subject to removal in a future version.
A hint that describes the need for Java serialization at runtime.
- Since:
- 6.0
- Author:
- Brian Clozel
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.Builder forJavaSerializationHint. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Return the type that should be reachable for this hint to apply, ornullif this hint should always been applied.getType()Deprecated, for removal: This API element is subject to removal in a future version.Return thetypethat needs to be serialized using Java serialization at runtime.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConditionalHint
conditionMatches
-
Method Details
-
getType
Deprecated, for removal: This API element is subject to removal in a future version.Return thetypethat needs to be serialized using Java serialization at runtime.- Returns:
- a
Serializabletype
-
getReachableType
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ConditionalHintReturn the type that should be reachable for this hint to apply, ornullif this hint should always been applied.- Specified by:
getReachableTypein interfaceConditionalHint- Returns:
- the reachable type, if any
-
equals
-
hashCode
-
TypeHint