|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EntryClass | |
---|---|
com.sun.jini.reggie | Provides implementations of ServiceRegistrar . |
Uses of EntryClass in com.sun.jini.reggie |
---|
Fields in com.sun.jini.reggie declared as EntryClass | |
---|---|
EntryClass |
EntryRep.eclass
The Class of the Entry converted to EntryClass. |
private EntryClass |
RegistrarImpl.ClassItemIter.eclass
Entry class to match on |
EntryClass |
EntryClassBase.eclass
The EntryClass. |
protected EntryClass |
EntryClass.replacement
An instance containing only name and hash, no superclass info. |
protected EntryClass |
EntryClass.superclass
Descriptor for the superclass |
Methods in com.sun.jini.reggie that return EntryClass | |
---|---|
private static EntryClass |
RegistrarImpl.getDefiningClass(EntryClass eclass,
int fldidx)
Return the first (highest) class that defines the given field. |
private EntryClass |
RegistrarImpl.getEmptyEntryClass(EntryClass eclass)
Return member of entryClasses that is equal to or a subclass of the specified class, provided there is exactly one such member and it has no fields. |
EntryClass |
EntryClass.getReplacement()
Return the replacement, if any, containing only name and rep. |
EntryClass |
EntryClass.getSuperclass()
Return the superclass descriptor |
private static EntryClass |
ClassMapper.toEntryClass(Class cls)
Returns an EntryClass descriptor for a class. |
Methods in com.sun.jini.reggie with parameters of type EntryClass | |
---|---|
private HashMap |
RegistrarImpl.addAttr(RegistrarImpl.SvcReg reg,
EntryClass eclass,
int fldidx,
Object value)
Put the service under the given attribute value for the given defining class and field, if it isn't already there. |
private void |
RegistrarImpl.addInstance(EntryClass eclass)
Add an instance of the EntryClass, and add the class to entryClasses if this is the first such instance. |
private void |
RegistrarImpl.deleteInstance(EntryClass eclass)
Delete an instance of the EntryClass, and remove the class from entryClasses if this is the last such instance. |
private static EntryClass |
RegistrarImpl.getDefiningClass(EntryClass eclass,
int fldidx)
Return the first (highest) class that defines the given field. |
private EntryClass |
RegistrarImpl.getEmptyEntryClass(EntryClass eclass)
Return member of entryClasses that is equal to or a subclass of the specified class, provided there is exactly one such member and it has no fields. |
private static boolean |
RegistrarImpl.hasAttr(RegistrarImpl.SvcReg reg,
EntryClass eclass,
int fldidx,
Object value)
Test if the service has an entry of the given class or subclass with a field of the given value. |
private static boolean |
RegistrarImpl.hasEmptyAttr(RegistrarImpl.SvcReg reg,
EntryClass eclass)
Test if the service has an entry of the exact given class (assumed to have no fields). |
boolean |
EntryClass.isAssignableFrom(EntryClass cls)
This is really only needed in the registrar, but it's very convenient to have here. |
private String |
RegistrarImpl.pickCodebase(EntryClass eclass,
ArrayList svcs,
long now)
Return any valid codebase for an entry of the exact given class. |
private String |
RegistrarImpl.pickCodebase(EntryClass eclass,
long now)
Return any valid codebase for an entry class that has instances. |
Constructors in com.sun.jini.reggie with parameters of type EntryClass | |
---|---|
EntryClass(Class clazz,
EntryClass superclass)
Should only be called by ClassMapper |
|
EntryClass(EntryClass orig)
Constructor used for creating replacement instances, containing only name and hash. |
|
EntryClassBase(EntryClass eclass,
String codebase)
Simple constructor |
|
RegistrarImpl.EmptyAttrItemIter(Template tmpl,
EntryClass eclass)
tmpl.serviceID == null and tmpl.serviceTypes is empty and eclass has no fields |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |