Class JsonTesterFactoryBean<T,M>

java.lang.Object
org.springframework.boot.test.autoconfigure.json.JsonTesterFactoryBean<T,M>
Type Parameters:
T - the object type
M - the marshaller type
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<T>

public final class JsonTesterFactoryBean<T,M> extends Object implements org.springframework.beans.factory.FactoryBean<T>
FactoryBean used to create JSON Tester instances.
Since:
4.0.0
  • Constructor Details

    • JsonTesterFactoryBean

      public JsonTesterFactoryBean(Class<?> objectType, @Nullable M marshaller)
  • Method Details

    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<T>
    • getObject

      public T getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<T>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<T>