JCLOUDS-1246: Allow extending SwiftBlobStoreContextModule

This commit is contained in:
Archana Chinnaiah 2017-03-01 17:27:48 +05:30 committed by Andrew Gaul
parent cbc750cb8b
commit f76c09cbe6

View File

@ -39,7 +39,7 @@ public class SwiftBlobStoreContextModule extends AbstractModule {
install(new FactoryModuleBuilder().build(Factory.class));
}
interface Factory {
public interface Factory {
RegionScopedSwiftBlobStore create(String in);
}
@ -48,7 +48,7 @@ public class SwiftBlobStoreContextModule extends AbstractModule {
return in;
}
static class FactoryFunction extends ForwardingObject implements Function<String, BlobStore> {
public static class FactoryFunction extends ForwardingObject implements Function<String, BlobStore> {
@Inject
Factory delegate;