Top Description Constructors Methods
org.eclipse.persistence.jpa.metadata

pack-priv Class FileBasedProjectCacheFilter

extends Object
implements ObjectInputFilter
Class Inheritance
All Implemented Interfaces
java.io.ObjectInputFilter
Imports
java.io.ObjectInputFilter, org.eclipse.persistence.logging.SessionLog, org.eclipse.persistence.sessions.Project

Verify content of FileBasedProjectCache being read with ObjectInputStream.

Constructor Summary

AccessConstructor and Description
pack-priv
FileBasedProjectCacheFilter()

Creates an instance of ObjectInputStream data of FileBasedProjectCache verifier.

Method Summary

Modifier and TypeMethod and Description
public ObjectInputFilter.Status
checkInput(ObjectInputFilter.FilterInfo
provides information about the current object being deserialized, if any, and the status of the ObjectInputStream
info
)

Implements java.io.ObjectInputFilter.checkInput.

Check the class, array length, number of object references, depth, stream size, and other available filtering information.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FileBasedProjectCacheFilterback to summary
pack-priv FileBasedProjectCacheFilter()

Creates an instance of ObjectInputStream data of FileBasedProjectCache verifier.

Method Detail

checkInputback to summary
public ObjectInputFilter.Status checkInput(ObjectInputFilter.FilterInfo info)

Implements java.io.ObjectInputFilter.checkInput.

Doc from java.io.ObjectInputFilter.checkInput.

Check the class, array length, number of object references, depth, stream size, and other available filtering information. Implementations of this method check the contents of the object graph being created during deserialization. The filter returns Status.ALLOWED, Status.REJECTED, or Status.UNDECIDED.

If filterInfo.serialClass() is non-null, there is a class to be checked. If serialClass() is null, there is no class and the info contains only metrics related to the depth of the graph being deserialized, the number of references, and the size of the stream read.

Parameters
info:ObjectInputFilter.FilterInfo

provides information about the current object being deserialized, if any, and the status of the ObjectInputStream

Returns:ObjectInputFilter.Status

Status.ALLOWED if accepted, Status.REJECTED if rejected, Status.UNDECIDED if undecided.

Annotations
@Override