public interface ImplementationProvider
| Modifier and Type | Method and Description |
|---|---|
MetaData |
createMetaDataInstance()
Create an new instance of the
MetaData implementation class. |
java.lang.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.
|
java.lang.Class<? extends HttpServiceProvider> |
getHttpServiceProvider()
Getter for the
HttpServiceProvider implementation class. |
org.apache.log4j.Logger |
getLogger()
Getter for the current logger for system output
|
java.lang.Class<? extends PermissionProvider> |
getPermissionProvider()
Getter for the
PermissionProvider implementation class. |
java.lang.Class<? extends PrimaryDataDirectory> |
getPrimaryDataDirectoryProvider()
Getter for the
PrimaryDataDirectory implementation class. |
java.lang.Class<? extends PrimaryDataFile> |
getPrimaryDataFileProvider()
Getter for the
PrimaryDataFile implementation class. |
java.lang.Class<? extends ServiceProvider> |
getServiceProvider()
Getter for the
ServiceProvider implementation class. |
PrimaryDataDirectory |
mount(java.util.List<java.lang.Class<? extends java.security.Principal>> supportedPrincipals)
Check if a root
PrimaryDataDirectory exists and return it or
create an new root PrimaryDataDirectory |
PrimaryDataEntity |
reloadPrimaryDataEntityByID(java.lang.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.java.lang.Class<? extends ApprovalServiceProvider> getApprovalServiceProvider()
ApprovalServiceProvider implementation classApprovalServiceProviderjava.lang.Class<? extends ServiceProvider> getServiceProvider()
ServiceProvider implementation class.ServiceProvider.EdalConfiguration getConfiguration()
EdalConfiguration class.org.apache.log4j.Logger getLogger()
java.lang.Class<? extends PermissionProvider> getPermissionProvider()
PermissionProvider implementation class.PermissionProvider to be use.java.lang.Class<? extends PrimaryDataDirectory> getPrimaryDataDirectoryProvider()
PrimaryDataDirectory implementation class.PrimaryDataDirectory.java.lang.Class<? extends HttpServiceProvider> getHttpServiceProvider()
HttpServiceProvider implementation class.HttpServiceProvider.java.lang.Class<? extends PrimaryDataFile> getPrimaryDataFileProvider()
PrimaryDataFile implementation class.PrimaryDataFile.PrimaryDataDirectory mount(java.util.List<java.lang.Class<? extends java.security.Principal>> supportedPrincipals) throws PrimaryDataDirectoryException
PrimaryDataDirectory exists and return it or
create an new root PrimaryDataDirectorysupportedPrincipals - the supported PrincipalsPrimaryDataDirectory.PrimaryDataDirectoryException - if unable to mount with the eDAL system.PrimaryDataEntity reloadPrimaryDataEntityByID(java.lang.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()