Class StoreInfoImpl
java.lang.Object
internal.org.springframework.content.commons.storeservice.StoreInfoImpl
- All Implemented Interfaces:
StoreInfo
-
Constructor Summary
ConstructorDescriptionStoreInfoImpl
(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> T
getImplementation
(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:StoreInfo
Returns the Store's interface class- Specified by:
getInterface
in interfaceStoreInfo
- Returns:
- interface 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 interfaceStoreInfo
- Returns:
- domain object class
-
getImplementation
Description copied from interface:StoreInfo
Returns the Store's implementation- Specified by:
getImplementation
in interfaceStoreInfo
- Type Parameters:
T
- the type of the implementation class- Parameters:
clazz
- the type of the implementation- Returns:
- T the implementation, or null
-