|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.jmx.Utils
public class Utils
Utilities mainly for method argument manipulation during remote jmx calls.
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
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 -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||