Package be.personify.iam.scim.storage
Class StorageImplementationFactory
- java.lang.Object
-
- be.personify.iam.scim.storage.StorageImplementationFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@Component public class StorageImplementationFactory extends Object implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description StorageImplementationFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidflush()StoragegetStorageImplementation(Schema schema)Gets the storage implementationvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getStorageImplementation
public Storage getStorageImplementation(Schema schema)
Gets the storage implementation- Parameters:
schema- the schema- Returns:
- the storage
-
flush
@Scheduled(fixedRateString="${scim.storage.flushEvery}") public void flush()
-
destroy
@PreDestroy public void destroy()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
-