org.jclouds.virtualbox.functions.admin
Class StartVBoxIfNotAlreadyRunning

java.lang.Object
  extended by org.jclouds.virtualbox.functions.admin.StartVBoxIfNotAlreadyRunning
All Implemented Interfaces:
com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager>

@Singleton
public class StartVBoxIfNotAlreadyRunning
extends Object
implements com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager>


Field Summary
protected  Logger logger
           
 
Constructor Summary
StartVBoxIfNotAlreadyRunning(com.google.common.base.Function<com.google.common.base.Supplier<NodeMetadata>,org.virtualbox_4_1.VirtualBoxManager> managerForNode, RunScriptOnNode.Factory runScriptOnNodeFactory, RetryIfSocketNotYetOpen socketTester, com.google.common.base.Supplier<NodeMetadata> host, com.google.common.base.Supplier<URI> providerSupplier, String identity, String credential)
           
 
Method Summary
 org.virtualbox_4_1.VirtualBoxManager get()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

StartVBoxIfNotAlreadyRunning

@Inject
public StartVBoxIfNotAlreadyRunning(com.google.common.base.Function<com.google.common.base.Supplier<NodeMetadata>,org.virtualbox_4_1.VirtualBoxManager> managerForNode,
                                           RunScriptOnNode.Factory runScriptOnNodeFactory,
                                           RetryIfSocketNotYetOpen socketTester,
                                           com.google.common.base.Supplier<NodeMetadata> host,
                                           com.google.common.base.Supplier<URI> providerSupplier,
                                           @Nullable
                                           String identity,
                                           @Nullable
                                           String credential)
Method Detail

start

public void start()

get

public org.virtualbox_4_1.VirtualBoxManager get()
Specified by:
get in interface com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager>


Copyright © 2009-2012 jclouds. All Rights Reserved.