org.jclouds.trmk.vcloud_0_8.config
Class DefaultVCloudReferencesModule
java.lang.Object
com.google.inject.AbstractModule
org.jclouds.trmk.vcloud_0_8.config.DefaultVCloudReferencesModule
- All Implemented Interfaces:
- com.google.inject.Module
public class DefaultVCloudReferencesModule
- extends com.google.inject.AbstractModule
- Author:
- Adrian Cole
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 |
DefaultVCloudReferencesModule
public DefaultVCloudReferencesModule()
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)
provideDefaultTasksListSelector
@Provides
@Singleton
protected com.google.common.base.Predicate<ReferenceType> provideDefaultTasksListSelector(com.google.inject.Injector i)
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,? extends Catalog>> provideCatalogsById(com.google.common.base.Supplier<Map<String,Map<String,? extends 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-2011 jclouds. All Rights Reserved.