org.jclouds.openstack.swift.blobstore.config
Class TemporaryUrlExtensionModule<A extends CommonSwiftAsyncClient>

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.openstack.swift.blobstore.config.TemporaryUrlExtensionModule<A>
All Implemented Interfaces:
com.google.inject.Module
Direct Known Subclasses:
TemporaryUrlExtensionModule.SwiftKeystoneTemporaryUrlExtensionModule, TemporaryUrlExtensionModule.SwiftTemporaryUrlExtensionModule

public abstract class TemporaryUrlExtensionModule<A extends CommonSwiftAsyncClient>
extends com.google.inject.AbstractModule

Isolates dependencies needed for SwiftBlobSigner

Author:
Adrian Cole

Nested Class Summary
static class TemporaryUrlExtensionModule.SwiftKeystoneTemporaryUrlExtensionModule
          Ensures keystone auth is used instead of swift auth
static class TemporaryUrlExtensionModule.SwiftTemporaryUrlExtensionModule
           
 
Constructor Summary
TemporaryUrlExtensionModule()
           
 
Method Summary
protected abstract  void bindRequestSigner()
           
protected  void bindTemporaryUrlKeyApi()
           
protected  void configure()
           
protected  Long unixEpochTimestampProvider()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporaryUrlExtensionModule

public TemporaryUrlExtensionModule()
Method Detail

unixEpochTimestampProvider

@Provides
protected Long unixEpochTimestampProvider()

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule

bindRequestSigner

protected abstract void bindRequestSigner()

bindTemporaryUrlKeyApi

protected void bindTemporaryUrlKeyApi()


Copyright © 2009-2013 jclouds. All Rights Reserved.