Class CustomizableBlobResourceLoader
java.lang.Object
org.springframework.content.jpa.io.CustomizableBlobResourceLoader
- All Implemented Interfaces:
BlobResourceLoader,org.springframework.core.io.ResourceLoader
-
Field Summary
Fields inherited from interface org.springframework.core.io.ResourceLoader
CLASSPATH_URL_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionCustomizableBlobResourceLoader(org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr) CustomizableBlobResourceLoader(org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr, String databaseName, ResourceProvider resourceProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.ResourcegetResource(String location)
-
Constructor Details
-
CustomizableBlobResourceLoader
public CustomizableBlobResourceLoader(org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr) -
CustomizableBlobResourceLoader
public CustomizableBlobResourceLoader(org.springframework.jdbc.core.JdbcTemplate template, org.springframework.transaction.PlatformTransactionManager txnMgr, String databaseName, ResourceProvider resourceProvider)
-
-
Method Details
-
getDatabaseName
- Specified by:
getDatabaseNamein interfaceBlobResourceLoader
-
getResource
- Specified by:
getResourcein interfaceorg.springframework.core.io.ResourceLoader
-
getClassLoader
- Specified by:
getClassLoaderin interfaceorg.springframework.core.io.ResourceLoader
-