Package com.ads.services.webservice
Class AMMService
java.lang.Object
com.ads.services.webservice.AMMService
Web Services are based on the SOAP protocol.The response can be either JSON
or XML.
All the WebServices methods in this service class have return type String - meaning if the method execution is successful, then it will return a string in the form of JSON or XML String based on the outputFormat parameter given by the user.
Contains the methods to get the application, system information etc.
All the WebServices methods in this service class have return type String - meaning if the method execution is successful, then it will return a string in the form of JSON or XML String based on the outputFormat parameter given by the user.
Contains the methods to get the application, system information etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllInfo(String userName, String password, String outputFormat) Returns the information about application,system,virtual machine,JVM,JRE etc.getApplicationInfo(String userName, String password, String outputFormat) Returns the application information like company name,application name,application version etc.getLicenseInfo(String userName, String password, String outputFormat) Returns License information like CompanyName,number of allowed projects,number of allowed subjects, number of allowed users, number of allowed logins, number of evaluation days,evaluation end date and license expired or not etc.getSystemInfo(String userName, String password, String outputFormat) Returns System information like MAC Address,Available Processors, Total amount of free memory available to the JVM, Maximum Memory, Total memory currently available to the JVM,OS Name,OS Version and User Name etc outputFormat can be either JSON or XML.getVirtualMachineInfo(String userName, String password, String outputFormat) Returns VirtualMachine information like Java Virtual Machine specification name,specification version of Java Virtual Machine and name of specification vendor of Java Virtual Machine.getVirtualMachineJREInfo(String userName, String password, String outputFormat) Returns VirtualMachineJRE information like version of Java Runtime Environment,name of Java Runtime Environment vendor URL of Java vendor,directory of Java installation,name of specification version Java Runtime Environment, JRE specification vendor,JREspecification name and name of JIT compiler to use etc.getVirtualMachineJVMInfo(String userName, String password, String outputFormat) Returns VirtualMachineJVM information like JVM implementation name,JVM implementation version and JVM implementation vendor.validateCredentials(String userName, String password, String outputFormat) Validates the login credentials.
-
Constructor Details
-
AMMService
public AMMService()
-
-
Method Details
-
getAllInfo
Returns the information about application,system,virtual machine,JVM,JRE etc. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getApplicationInfo
Returns the application information like company name,application name,application version etc. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getSystemInfo
Returns System information like MAC Address,Available Processors, Total amount of free memory available to the JVM, Maximum Memory, Total memory currently available to the JVM,OS Name,OS Version and User Name etc outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getVirtualMachineInfo
Returns VirtualMachine information like Java Virtual Machine specification name,specification version of Java Virtual Machine and name of specification vendor of Java Virtual Machine. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getVirtualMachineJVMInfo
Returns VirtualMachineJVM information like JVM implementation name,JVM implementation version and JVM implementation vendor. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getVirtualMachineJREInfo
Returns VirtualMachineJRE information like version of Java Runtime Environment,name of Java Runtime Environment vendor URL of Java vendor,directory of Java installation,name of specification version Java Runtime Environment, JRE specification vendor,JREspecification name and name of JIT compiler to use etc. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
getLicenseInfo
Returns License information like CompanyName,number of allowed projects,number of allowed subjects, number of allowed users, number of allowed logins, number of evaluation days,evaluation end date and license expired or not etc. outputFormat can be either JSON or XML. If outputFormat is not specified, by default the method will return the JSON String.- Parameters:
userName- Stringpassword- StringoutputFormat- String - Valid values: JSON or XML- Returns:
- String
- Since:
- 6.2
-
validateCredentials
Validates the login credentials.- Parameters:
userName- - Stringpassword- - StringoutputFormat- - String - Valid values: JSON or XML- Returns:
- - String - Returns RequestStatus Object consisting of Request success flag, status message and userObject etc... in the form of JSON or XML String.
- Since:
- 10.1
-