public interface ImplementationProvider
| Modifier and Type | Method and Description |
|---|---|
MetaData |
createMetaDataInstance()
Create an new instance of the
MetaData implementation class. |
Class<? extends ApprovalServiceProvider> |
getApprovalServiceProvider()
Getter for the
ApprovalServiceProvider implementation class |
EdalConfiguration |
getConfiguration()
Getter for the configuration class with all parameter to start the eDAL
system.
|
Class<? extends HttpServiceProvider> |
getHttpServiceProvider()
Getter for the
HttpServiceProvider implementation class. |
org.apache.log4j.Logger |
getLogger()
Getter for the current logger for system output
|
Class<? extends de.ipk_gatersleben.bit.bi.edal.primary_data.security.PermissionProvider> |
getPermissionProvider()
Getter for the
PermissionProvider implementation class. |
Class<? extends PrimaryDataDirectory> |
getPrimaryDataDirectoryProvider()
Getter for the
PrimaryDataDirectory implementation class. |
Class<? extends PrimaryDataFile> |
getPrimaryDataFileProvider()
Getter for the
PrimaryDataFile implementation class. |
Class<? extends ServiceProvider> |
getServiceProvider()
Getter for the
ServiceProvider implementation class. |
PrimaryDataDirectory |
mount(List<Class<? extends Principal>> supportedPrincipals)
Check if a root
PrimaryDataDirectory exists and return it or
create an new root PrimaryDataDirectory |
PrimaryDataEntity |
reloadPrimaryDataEntityByID(String uuid,
long versionNumber)
Internal Function to reload a
PrimaryDataEntity with his
UUID. |
void |
shutdown()
Cleanup all resources used by the particular implementation provider
|
MetaData createMetaDataInstance()
MetaData implementation class.MetaData.Class<? extends ApprovalServiceProvider> getApprovalServiceProvider()
ApprovalServiceProvider implementation classApprovalServiceProviderClass<? extends ServiceProvider> getServiceProvider()
ServiceProvider implementation class.ServiceProvider.EdalConfiguration getConfiguration()
EdalConfiguration class.org.apache.log4j.Logger getLogger()
Class<? extends de.ipk_gatersleben.bit.bi.edal.primary_data.security.PermissionProvider> getPermissionProvider()
PermissionProvider implementation class.PermissionProvider to be use.Class<? extends PrimaryDataDirectory> getPrimaryDataDirectoryProvider()
PrimaryDataDirectory implementation class.PrimaryDataDirectory.Class<? extends HttpServiceProvider> getHttpServiceProvider()
HttpServiceProvider implementation class.HttpServiceProvider.Class<? extends PrimaryDataFile> getPrimaryDataFileProvider()
PrimaryDataFile implementation class.PrimaryDataFile.PrimaryDataDirectory mount(List<Class<? extends Principal>> supportedPrincipals) throws PrimaryDataDirectoryException
PrimaryDataDirectory exists and return it or
create an new root PrimaryDataDirectoryPrimaryDataDirectory.PrimaryDataDirectoryException - if unable to mount with the eDAL system.PrimaryDataEntity reloadPrimaryDataEntityByID(String uuid, long versionNumber) throws EdalException
PrimaryDataEntity with his
UUID.uuid - the UUID of the PrimaryDataEntityversionNumber - the number of the PrimaryDataEntityVersionPrimaryDataEntityEdalException - if unable to find a PrimaryDataEntityvoid shutdown()
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.