Examples of CloudStackComputeServiceContextModule


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

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
TOP
Copyright © 2018 www.massapi.com. 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.