Class StoreInfoImpl
java.lang.Object
internal.org.springframework.content.commons.storeservice.StoreInfoImpl
- All Implemented Interfaces:
StoreInfo
-
Constructor Summary
ConstructorsConstructorDescriptionStoreInfoImpl(Class<? extends Store> interfaceClass, Class<?> storeDomainClass, Supplier<Store<Serializable>> storeSupplier) StoreInfoImpl(Class<? extends Store> interfaceClass, Class<?> storeDomainClass, Store<Serializable> storeImpl) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>Returns the Store's domain object class if applicable.<T> TgetImplementation(Class<? extends T> clazz) Returns the Store's implementationReturns the Store's interface class
-
Constructor Details
-
StoreInfoImpl
public StoreInfoImpl(Class<? extends Store> interfaceClass, Class<?> storeDomainClass, Store<Serializable> storeImpl) -
StoreInfoImpl
-
-
Method Details
-
getInterface
Description copied from interface:StoreInfoReturns the Store's interface class- Specified by:
getInterfacein interfaceStoreInfo- Returns:
- interface class
-
getDomainObjectClass
Description copied from interface:StoreInfoReturns the Store's domain object class if applicable. In cases where the Store does not have a domain class, returns null- Specified by:
getDomainObjectClassin interfaceStoreInfo- Returns:
- domain object class
-
getImplementation
Description copied from interface:StoreInfoReturns the Store's implementation- Specified by:
getImplementationin interfaceStoreInfo- Type Parameters:
T- the type of the implementation class- Parameters:
clazz- the type of the implementation- Returns:
- T the implementation, or null
-