- All Known Implementing Classes:
WhitelistInputFilterFactory
public interface ObjectInputFilterFactory
Creates
ObjectInputFilter
a instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectInputFilterFactory
Returns theObjectInputFilterFactory
implementation found by theServiceLoader
of the given type.
-
Method Details
-
createObjectInputFilter
ObjectInputFilter createObjectInputFilter()- Returns:
- a
ObjectInputFilter
instance
-
instance
Returns theObjectInputFilterFactory
implementation found by theServiceLoader
of the given type.- Parameters:
classname
- the classname of the required factory- Returns:
- a
ObjectInputFilterFactory
implementation of the given type from theServiceLoader
. - Throws:
IllegalStateException
- in case no suchObjectInputFilterFactory
implementation is available.
-