@Singleton public class CacheServiceFactory extends Object
CacheService
for each active public instance.Constructor and Description |
---|
CacheServiceFactory(javax.inject.Provider<info.magnolia.cms.exchange.ActivationManager> provider) |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheService> |
createCacheServices(String[] credentials)
Creates cache services for each active public instance registered in the system.
|
@Inject public CacheServiceFactory(javax.inject.Provider<info.magnolia.cms.exchange.ActivationManager> provider)
public Map<String,CacheService> createCacheServices(String[] credentials)
CacheEndpoint
is exposed
to the public (THIS IS NOT RECOMMENDED FOR SECURITY REASONS!).credentials
- credentials used by the rest client in order to be able to access cache rest endpointCopyright © 2015 Magnolia International Ltd.. All rights reserved.