Package org.jclouds.cloudstack.compute.config

Examples of org.jclouds.cloudstack.compute.config.CloudStackComputeServiceContextModule


            }).annotatedWith(Memoized.class).to(NetworksForCurrentUser.class).in(Scopes.SINGLETON);
            bind(new TypeLiteral<Map<String, Credentials>>() {
            }).toInstance(credentialStore);
            bind(CloudStackClient.class).toInstance(client);
            bind(new TypeLiteral<Map<NetworkType, ? extends OptionsConverter>>() {}).
               toInstance(new CloudStackComputeServiceContextModule().optionsConverters());
            bind(String.class).annotatedWith(Names.named(PROPERTY_SESSION_INTERVAL)).toInstance("60");
            bind(new TypeLiteral<CacheLoader<String, Set<IPForwardingRule>>>() {
            }).to(GetIPForwardingRulesByVirtualMachine.class);
            bind(new TypeLiteral<CacheLoader<String, Set<FirewallRule>>>() {
            }).to(GetFirewallRulesByVirtualMachine.class);
View Full Code Here


            }).annotatedWith(Memoized.class).to(NetworksForCurrentUser.class).in(Scopes.SINGLETON);
            bind(new TypeLiteral<Map<String, Credentials>>() {
            }).toInstance(credentialStore);
            bind(CloudStackClient.class).toInstance(client);
            bind(new TypeLiteral<Map<NetworkType, ? extends OptionsConverter>>() {}).
               toInstance(new CloudStackComputeServiceContextModule().optionsConverters());
            bind(String.class).annotatedWith(Names.named(PROPERTY_SESSION_INTERVAL)).toInstance("60");
            bind(new TypeLiteral<CacheLoader<String, Set<IPForwardingRule>>>() {
            }).to(GetIPForwardingRulesByVirtualMachine.class);
            bind(new TypeLiteral<CacheLoader<String, Set<FirewallRule>>>() {
            }).to(GetFirewallRulesByVirtualMachine.class);
View Full Code Here

TOP

Related Classes of org.jclouds.cloudstack.compute.config.CloudStackComputeServiceContextModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.