
com.att.aft.dme2.manager.registry.DME2StaleCacheAdapterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dme2-api Show documentation
Show all versions of dme2-api Show documentation
Direct Messaging Engine dme2-api
The newest version!
package com.att.aft.dme2.manager.registry;
public class DME2StaleCacheAdapterFactory {
private DME2StaleCacheAdapterFactory() {
}
public static DME2StaleCacheAdapter getStaleCacheAdapter( DME2EndpointRegistry registry ) {
if ( registry != null && registry instanceof DME2EndpointRegistryAdapter ) {
return (DME2StaleCacheAdapter) registry;
}
throw new UnsupportedOperationException( "Registry does not support use of stale cache adapter" );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy