Package com.sun.jini.reggie
Class ClassMapper
java.lang.Object
com.sun.jini.reggie.ClassMapper
Maps Class to ServiceType/Base, Class to EntryClass/Base, and Class to Field[], with caching for
efficiency.
- Author:
- Sun Microsystems, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.jini.reggie.ClassMapper.EntryField[]Returns public fields, in super to subclass order, sorted alphabetically within a given class.static EntryClassBasetoEntryClassBase(Class cls) Returns a EntryClassBase descriptor for a class.static com.sun.jini.reggie.ServiceTypetoServiceType(Class cls) Returns a ServiceType descriptor for a class.static com.sun.jini.reggie.ServiceType[]toServiceType(Class[] classes) Converts an array of Class to an array of ServiceType.static ServiceTypeBasetoServiceTypeBase(Class cls) Returns a ServiceTypeBase descriptor for a class.
-
Method Details
-
toServiceTypeBase
Returns a ServiceTypeBase descriptor for a class.- Throws:
MarshalException
-
toServiceType
Returns a ServiceType descriptor for a class.- Throws:
MarshalException
-
toServiceType
public static com.sun.jini.reggie.ServiceType[] toServiceType(Class[] classes) throws MarshalException Converts an array of Class to an array of ServiceType.- Throws:
MarshalException
-
toEntryClassBase
Returns a EntryClassBase descriptor for a class.- Throws:
MarshalException
-
getFields
Returns public fields, in super to subclass order, sorted alphabetically within a given class.
-