Package com.opencloud.rem.service
Class Utils
- java.lang.Object
-
- com.opencloud.rem.service.Utils
-
public class Utils extends Object
General utility methods used by REM provisioning services.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Utils.NotificationSources
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Address
getAddress(String value)
static Utils.NotificationSources
getNotificationSources(MBeanServerConnection connection)
static String
objectToString(Object o)
static Object
stringArrayToObject(String[] values, String type, MBeanServerConnection connection)
static Object
stringToObject(String value, String type, MBeanServerConnection connection)
static String
typeToDisplayType(String type)
-
-
-
Method Detail
-
getNotificationSources
public static Utils.NotificationSources getNotificationSources(MBeanServerConnection connection) throws ManagementException, UnrecognizedServiceException
-
stringToObject
public static Object stringToObject(String value, String type, MBeanServerConnection connection) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
stringArrayToObject
public static Object stringArrayToObject(String[] values, String type, MBeanServerConnection connection) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-