org.jclouds.vcloud.config
Class DefaultVCloudReferencesModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.vcloud.config.DefaultVCloudReferencesModule
All Implemented Interfaces:
com.google.inject.Module

public class DefaultVCloudReferencesModule
extends com.google.inject.AbstractModule

Author:
Adrian Cole

Nested Class Summary
static class DefaultVCloudReferencesModule.WriteableCatalog
           
 
Constructor Summary
DefaultVCloudReferencesModule()
           
 
Method Summary
protected  void configure()
           
protected  com.google.common.base.Supplier<Map<URI,Catalog>> provideCatalogsById(com.google.common.base.Supplier<Map<String,Map<String,Catalog>>> supplier)
           
protected  ReferenceType provideDefaultCatalog(DefaultCatalogForOrg defaultCatalogURIForOrg, ReferenceType defaultOrg)
           
protected  com.google.common.base.Predicate<ReferenceType> provideDefaultCatalogSelector(com.google.inject.Injector i)
           
protected  ReferenceType provideDefaultNetwork(DefaultNetworkForVDC defaultNetworkURIForVDC, ReferenceType defaultVDC)
           
protected  com.google.common.base.Predicate<ReferenceType> provideDefaultNetworkSelector(com.google.inject.Injector i)
           
protected  ReferenceType provideDefaultOrg(DefaultOrgForUser defaultOrgURIForUser, String user)
           
protected  com.google.common.base.Predicate<ReferenceType> provideDefaultOrgSelector(com.google.inject.Injector i)
           
protected  ReferenceType provideDefaultTasksList(DefaultTasksListForOrg defaultTasksListURIForOrg, ReferenceType defaultOrg)
           
protected  ReferenceType provideDefaultVDC(DefaultVDCForOrg defaultVDCURIForOrg, ReferenceType defaultOrg)
           
protected  com.google.common.base.Predicate<ReferenceType> provideDefaultVDCSelector(com.google.inject.Injector i)
           
 
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

DefaultVCloudReferencesModule

public DefaultVCloudReferencesModule()
Method Detail

configure

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

provideDefaultOrg

@Provides
@Singleton
protected ReferenceType provideDefaultOrg(DefaultOrgForUser defaultOrgURIForUser,
                                                             @Named(value="jclouds.identity")
                                                             String user)

provideDefaultOrgSelector

@Provides
@Singleton
protected com.google.common.base.Predicate<ReferenceType> provideDefaultOrgSelector(com.google.inject.Injector i)

provideDefaultTasksList

@Provides
@Singleton
protected ReferenceType provideDefaultTasksList(DefaultTasksListForOrg defaultTasksListURIForOrg,
                                                                   ReferenceType defaultOrg)

provideDefaultCatalog

@Provides
@Singleton
protected ReferenceType provideDefaultCatalog(DefaultCatalogForOrg defaultCatalogURIForOrg,
                                                                 ReferenceType defaultOrg)

provideDefaultCatalogSelector

@Provides
@Singleton
protected com.google.common.base.Predicate<ReferenceType> provideDefaultCatalogSelector(com.google.inject.Injector i)

provideCatalogsById

@Provides
@Singleton
protected com.google.common.base.Supplier<Map<URI,Catalog>> provideCatalogsById(com.google.common.base.Supplier<Map<String,Map<String,Catalog>>> supplier)

provideDefaultVDC

@Provides
@Singleton
protected ReferenceType provideDefaultVDC(DefaultVDCForOrg defaultVDCURIForOrg,
                                                             ReferenceType defaultOrg)

provideDefaultVDCSelector

@Provides
@Singleton
protected com.google.common.base.Predicate<ReferenceType> provideDefaultVDCSelector(com.google.inject.Injector i)

provideDefaultNetwork

@Provides
@Singleton
protected ReferenceType provideDefaultNetwork(DefaultNetworkForVDC defaultNetworkURIForVDC,
                                                                 ReferenceType defaultVDC)

provideDefaultNetworkSelector

@Provides
@Singleton
protected com.google.common.base.Predicate<ReferenceType> provideDefaultNetworkSelector(com.google.inject.Injector i)


Copyright © 2009-2012 jclouds. All Rights Reserved.