@Singleton public class NodeCreator extends Object implements com.google.common.base.Function<NodeSpec,ComputeServiceAdapter.NodeAndInitialCredentials<org.virtualbox_4_1.IMachine>>
NodeSpec. Must be
 synchronized mainly because of snapshot creation (must be synchronized on a per-master-basis).| Constructor and Description | 
|---|
NodeCreator(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
           com.google.common.base.Function<CloneSpec,org.virtualbox_4_1.IMachine> cloner,
           RunScriptOnNode.Factory runScriptOnNodeFactory,
           MachineUtils machineUtils,
           RunScriptOnNode.Factory scriptRunnerFactory,
           MachineController machineController,
           com.google.common.base.Supplier<NodeMetadata> host,
           com.google.common.base.Supplier<URI> providerSupplier,
           String identity,
           String credential)  | 
| Modifier and Type | Method and Description | 
|---|---|
ComputeServiceAdapter.NodeAndInitialCredentials<org.virtualbox_4_1.IMachine> | 
apply(NodeSpec nodeSpec)  | 
@Inject
public NodeCreator(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager,
                  com.google.common.base.Function<CloneSpec,org.virtualbox_4_1.IMachine> cloner,
                  RunScriptOnNode.Factory runScriptOnNodeFactory,
                  MachineUtils machineUtils,
                  RunScriptOnNode.Factory scriptRunnerFactory,
                  MachineController machineController,
                  com.google.common.base.Supplier<NodeMetadata> host,
                  com.google.common.base.Supplier<URI> providerSupplier,
                  @Nullable
                  String identity,
                  @Nullable
                  String credential)
public ComputeServiceAdapter.NodeAndInitialCredentials<org.virtualbox_4_1.IMachine> apply(NodeSpec nodeSpec)
apply in interface com.google.common.base.Function<NodeSpec,ComputeServiceAdapter.NodeAndInitialCredentials<org.virtualbox_4_1.IMachine>>Copyright © 2009-2013 jclouds. All Rights Reserved.