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 classUtils.NotificationSources
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddressgetAddress(String value)static Utils.NotificationSourcesgetNotificationSources(MBeanServerConnection connection)static StringobjectToString(Object o)static ObjectstringArrayToObject(String[] values, String type, MBeanServerConnection connection)static ObjectstringToObject(String value, String type, MBeanServerConnection connection)static StringtypeToDisplayType(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
-
-