|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridkit.nanocloud.SimpleCloudFactory
public class SimpleCloudFactory
This is substitute for old CloudFactory class.
| Constructor Summary | |
|---|---|
SimpleCloudFactory()
|
|
| Method Summary | |
|---|---|
static void |
applyConfig(Cloud manager,
InputStream is)
|
static void |
applyConfig(Cloud manager,
Reader reader)
|
static void |
applyConfig(ViManager manager,
String config)
|
static Cloud |
createCloud()
Create Cloud with configuration driven node provider. |
static Cloud |
createCloud(Reader configReader)
Create ViManager with configuration driven node provider. |
static Cloud |
createCloud(String configFile)
Create ViManager with configuration driven node provider. |
static Cloud |
createSimpleSshCloud()
Creates instance of configuration driven ViManager, configured to interpret ViNode's name as hostname. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleCloudFactory()
| Method Detail |
|---|
public static Cloud createCloud()
Cloud with configuration driven node provider.
ViManagerapplyConfig(ViManager, String)public static Cloud createCloud(String configFile)
ViManager with configuration driven node provider.
ViManagerapplyConfig(ViManager, String)public static Cloud createCloud(Reader configReader)
ViManager with configuration driven node provider.
ViManagerapplyConfig(ViManager, String)public static Cloud createSimpleSshCloud()
ViManager, configured to interpret ViNode's name as hostname.
ViManager cloud be used without further configuration.
~/ssh-credentials.prop would be used for SSH credentials lookup.
ViManager
public static void applyConfig(ViManager manager,
String config)
public static void applyConfig(Cloud manager,
Reader reader)
public static void applyConfig(Cloud manager,
InputStream is)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||