public class Deploy extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_APPLICATION_NAME |
static String |
KEY_CLUSTER |
static String |
KEY_DEPLOY_TIMEOUT |
static String |
KEY_ELASTIC_PROPERTIES |
static String |
KEY_GROUPS |
static String |
KEY_HELP1 |
static String |
KEY_HELP2 |
static String |
KEY_LOCATORS |
static String |
KEY_MAX_INSTANCES_PER_MACHINE |
static String |
KEY_MAX_INSTANCES_PER_VM |
static String |
KEY_MAX_INSTANCES_PER_ZONE |
static String |
KEY_OVERRIDE_NAME |
static String |
KEY_PASSWORD |
static String |
KEY_PRIMARY_ZONE |
static String |
KEY_PROPERTIES |
static String |
KEY_REQUIRES_ISOLATION |
static String |
KEY_SCHEMA |
static String |
KEY_SECURED |
static String |
KEY_SLA |
static String |
KEY_TIMEOUT |
static String |
KEY_TOTAL_MEMBERS |
static String |
KEY_USER |
static String |
KEY_ZONES |
static String[] |
validOptionsArray |
Constructor and Description |
---|
Deploy() |
Modifier and Type | Method and Description |
---|---|
org.jini.rio.core.OperationalString |
buildOperationalString(String[] args) |
void |
deploy(String[] args) |
void |
deploy(String[] args,
org.jini.rio.core.ServiceProvisionListener listener) |
void |
deployAndWait(String[] args) |
Deploy |
disableGSM() |
protected String |
extractSlaFromPu(String puString) |
String[] |
getGroups() |
LookupLocator[] |
getLocators() |
static String |
getUsage() |
static String |
getUsage(boolean managed) |
void |
initializeDiscovery(com.gigaspaces.grid.gsm.GSM gsm) |
static void |
main(String[] args) |
protected static String |
readFile(URL root,
String puPath,
String filePath) |
void |
setApplicationName(String applicationName) |
void |
setCredentials(String userName,
String password) |
void |
setCredentialsProvider(CredentialsProvider credentialsProvider) |
void |
setDeployTimeout(long deployTimeout) |
static void |
setDisableInfoLogging(boolean disableInfoLogging) |
void |
setGroups(String[] groups) |
void |
setLocators(String locators) |
void |
setLookupTimeout(int lookupTimeout) |
void |
setSecured(boolean secured) |
static void |
setSout(boolean soutVal) |
void |
setUserDetails(String userName,
String password)
Deprecated.
|
void |
setUserDetails(UserDetails userDetails)
Deprecated.
|
public static final String KEY_HELP1
public static final String KEY_HELP2
public static final String KEY_USER
public static final String KEY_PASSWORD
public static final String KEY_SECURED
public static final String KEY_SLA
public static final String KEY_CLUSTER
public static final String KEY_SCHEMA
public static final String KEY_TOTAL_MEMBERS
public static final String KEY_GROUPS
public static final String KEY_LOCATORS
public static final String KEY_TIMEOUT
public static final String KEY_PROPERTIES
public static final String KEY_OVERRIDE_NAME
public static final String KEY_ZONES
public static final String KEY_PRIMARY_ZONE
public static final String KEY_APPLICATION_NAME
public static final String KEY_ELASTIC_PROPERTIES
public static final String KEY_DEPLOY_TIMEOUT
public static final String KEY_REQUIRES_ISOLATION
public static final String KEY_MAX_INSTANCES_PER_VM
public static final String KEY_MAX_INSTANCES_PER_MACHINE
public static final String KEY_MAX_INSTANCES_PER_ZONE
public static final String[] validOptionsArray
public static void setDisableInfoLogging(boolean disableInfoLogging)
public Deploy disableGSM()
public static void setSout(boolean soutVal)
public void initializeDiscovery(com.gigaspaces.grid.gsm.GSM gsm)
public String[] getGroups()
public LookupLocator[] getLocators()
public void setGroups(String[] groups)
public void setLocators(String locators)
public void setLookupTimeout(int lookupTimeout)
public void setSecured(boolean secured)
@Deprecated public void setUserDetails(UserDetails userDetails)
@Deprecated public void setUserDetails(String userName, String password)
public void setCredentialsProvider(CredentialsProvider credentialsProvider)
public void setDeployTimeout(long deployTimeout)
public void setApplicationName(String applicationName)
public void deploy(String[] args, org.jini.rio.core.ServiceProvisionListener listener) throws Exception
Exception
public org.jini.rio.core.OperationalString buildOperationalString(String[] args) throws Exception
Exception
protected String extractSlaFromPu(String puString) throws TransformerException, ParserConfigurationException, IOException, SAXException
protected static String readFile(URL root, String puPath, String filePath) throws IOException
IOException
public static String getUsage()
public static String getUsage(boolean managed)
Copyright © GigaSpaces.