GigaSpaces XAP 9.7.2 API

com.sun.jini.reggie
Class ClassMapper

java.lang.Object
  extended by com.sun.jini.reggie.ClassMapper

public class ClassMapper
extends Object

Maps Class to ServiceType/Base, Class to EntryClass/Base, and Class to Field[], with caching for efficiency.

Author:
Sun Microsystems, Inc.

Method Summary
static com.sun.jini.reggie.ClassMapper.EntryField[] getFields(Class cls)
          Returns public fields, in super to subclass order, sorted alphabetically within a given class.
static EntryClassBase toEntryClassBase(Class cls)
          Returns a EntryClassBase descriptor for a class.
static com.sun.jini.reggie.ServiceType toServiceType(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 ServiceTypeBase toServiceTypeBase(Class cls)
          Returns a ServiceTypeBase descriptor for a class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toServiceTypeBase

public static ServiceTypeBase toServiceTypeBase(Class cls)
                                         throws MarshalException
Returns a ServiceTypeBase descriptor for a class.

Throws:
MarshalException

toServiceType

public static com.sun.jini.reggie.ServiceType toServiceType(Class cls)
                                                     throws MarshalException
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

public static EntryClassBase toEntryClassBase(Class cls)
                                       throws MarshalException
Returns a EntryClassBase descriptor for a class.

Throws:
MarshalException

getFields

public static com.sun.jini.reggie.ClassMapper.EntryField[] getFields(Class cls)
Returns public fields, in super to subclass order, sorted alphabetically within a given class.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.