mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 15:08:28 +00:00
JCLOUDS-1246: Allow extending SwiftBlobStoreContextModule
This commit is contained in:
parent
cbc750cb8b
commit
f76c09cbe6
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user