public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String[] |
classArray2StringArray(Class<?>[] classes)
Convert an array of classes to an array of strings for invoking a
JMX operation.
|
static Serializable |
export(Object object)
Convert an object into something that can be sent accross the wire.
|
static Serializable[] |
export(Object[] objects)
Convert an array of objects to Objects that can
be sent accross the wire in a remote method call.
|
static Object[] |
importResolve(Object[] objects,
ObjectNames names)
Import an array of objects that have come accross the wire.
|
static Object |
importResolve(Object object,
ObjectNames names)
Import an object that has come across the wire.
|
public static String[] classArray2StringArray(Class<?>[] classes)
classes
- Array of classes.public static Serializable[] export(Object[] objects) throws NotSerializableException
objects
- NotSerializableException
public static Serializable export(Object object) throws NotSerializableException
object
- NotSerializableException
public static Object[] importResolve(Object[] objects, ObjectNames names)
objects
- componentRegistry
- public static Object importResolve(Object object, ObjectNames names)
object
- componentRegistry
-