java.lang.Object
internal.org.springframework.content.commons.storeservice.StoreInfoImpl
All Implemented Interfaces:
StoreInfo

public class StoreInfoImpl extends Object implements StoreInfo
  • Constructor Details

  • Method Details

    • getInterface

      public Class<? extends Store> getInterface()
      Description copied from interface: StoreInfo
      Returns the Store's interface class
      Specified by:
      getInterface in interface StoreInfo
      Returns:
      interface class
    • getDomainObjectClass

      public Class<?> getDomainObjectClass()
      Description copied from interface: StoreInfo
      Returns the Store's domain object class if applicable. In cases where the Store does not have a domain class, returns null
      Specified by:
      getDomainObjectClass in interface StoreInfo
      Returns:
      domain object class
    • getImplementation

      public <T> T getImplementation(Class<? extends T> clazz)
      Description copied from interface: StoreInfo
      Returns the Store's implementation
      Specified by:
      getImplementation in interface StoreInfo
      Type Parameters:
      T - the type of the implementation class
      Parameters:
      clazz - the type of the implementation
      Returns:
      T the implementation, or null