|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceType | |
---|---|
com.sun.jini.reggie | Provides implementations of ServiceRegistrar . |
Uses of ServiceType in com.sun.jini.reggie |
---|
Fields in com.sun.jini.reggie declared as ServiceType | |
---|---|
private static ServiceType[] |
ServiceType.empty
|
private static ServiceType[] |
ClassMapper.empty
|
protected ServiceType[] |
ServiceType.interfaces
Descriptor for the interfaces. |
private ServiceType |
RegistrarImpl.objectServiceType
Canonical ServiceType for java.lang.Object |
protected ServiceType |
ServiceType.replacement
An instance containing only name, no supertype info. |
ServiceType |
Item.serviceType
The Class of ServiceItem.service converted to ServiceType. |
ServiceType[] |
Template.serviceTypes
ServiceTemplate.serviceTypes converted to ServiceTypes |
protected ServiceType |
ServiceType.superclass
Descriptor for the superclass. |
ServiceType |
ServiceTypeBase.type
The ServiceType. |
Methods in com.sun.jini.reggie that return ServiceType | |
---|---|
ServiceType[] |
ServiceType.getInterfaces()
Return the interfaces. |
ServiceType |
ServiceType.getReplacement()
Return the replacement, if any, containing only name and rep. |
ServiceType |
ServiceType.getSuperclass()
Return the superclass descriptor |
private static ServiceType |
ClassMapper.toServiceType(Class cls)
Returns a ServiceType descriptor for a class. |
static ServiceType[] |
ClassMapper.toServiceType(Class[] classes)
Converts an array of Class to an array of ServiceType. |
Methods in com.sun.jini.reggie with parameters of type ServiceType | |
---|---|
private void |
RegistrarImpl.addServiceByTypes(ServiceType type,
RegistrarImpl.SvcReg reg)
Adds a service registration to types in its hierarchy |
private static void |
RegistrarImpl.addTypes(ArrayList types,
ArrayList codebases,
ServiceType[] bases,
String prefix,
ServiceType type,
String codebase)
Find the most specific types (of type) that don't match prefix and aren't equal to or a supertype of any types in bases, and add them to types. |
private static void |
RegistrarImpl.addTypes(ArrayList types,
ArrayList codebases,
ServiceType[] bases,
String prefix,
ServiceType type,
String codebase)
Find the most specific types (of type) that don't match prefix and aren't equal to or a supertype of any types in bases, and add them to types. |
private void |
RegistrarImpl.deleteServiceFromTypes(ServiceType type,
RegistrarImpl.SvcReg reg)
Deletes a service registration from types in its hierarchy |
boolean |
ServiceType.isAssignableFrom(ServiceType cls)
Returns true if this type is equal to type or if this type
is equal to a superclass of type . |
private boolean |
ServiceType.isAssignableFrom(ServiceType[] ifaces)
Test if this isAssignableFrom any of the given interface types. |
private ArrayList |
RegistrarImpl.matchingServices(ServiceType[] types)
Returns a list of services that match all types passed in |
private static boolean |
RegistrarImpl.matchType(ServiceType[] types,
ServiceType type)
Test if a type is equal to or a subtype of every type in an array. |
private static boolean |
RegistrarImpl.matchType(ServiceType[] types,
ServiceType type)
Test if a type is equal to or a subtype of every type in an array. |
Constructors in com.sun.jini.reggie with parameters of type ServiceType | |
---|---|
ServiceType(Class clazz,
ServiceType superclass,
ServiceType[] interfaces)
Should only be called by ClassMapper |
|
ServiceType(Class clazz,
ServiceType superclass,
ServiceType[] interfaces)
Should only be called by ClassMapper |
|
ServiceType(ServiceType stype)
Constructor used for creating replacement instances, containing only name. |
|
ServiceTypeBase(ServiceType type,
String codebase)
Simple constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |