- All Known Implementing Classes:
SerializationFilterFactory
public interface ObjectInputFilterFactory
Creates an
ObjectInputFilter instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectInputFilterFactoryReturns theObjectInputFilterFactoryimplementation found by theServiceLoaderof the given type.
-
Method Details
-
createObjectInputFilter
ObjectInputFilter createObjectInputFilter()- Returns:
- a
ObjectInputFilterinstance
-
instance
Returns theObjectInputFilterFactoryimplementation found by theServiceLoaderof the given type.- Parameters:
classname- the classname of the required factory- Returns:
- a
ObjectInputFilterFactoryimplementation of the given type from theServiceLoader. - Throws:
IllegalStateException- in case no suchObjectInputFilterFactoryimplementation is available.
-