|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jini.entry.AbstractEntry net.jini.lookup.entry.ServiceType com.sun.jini.lookup.entry.BasicServiceType
public class BasicServiceType
An implementation of ServiceType that uses ResourceBundles. If the value of the public field type contains at least one dot ('.'), then the value of the field is used as the name of the ResourceBundle. Otherwise, the name of the ResourceBundle is obtained by prefixing "net.jini.lookup.entry.servicetype." to the value of the public field. The default locale is used.
Field Summary | |
---|---|
String |
type
The type of service. |
Constructor Summary | |
---|---|
BasicServiceType()
Simple constructor, leaves type field set to null. |
|
BasicServiceType(String type)
Simple constructor, sets type field to parameter value. |
Method Summary | |
---|---|
String |
getDisplayName()
Returns the resource named "name", else the type field stripped of any package prefix (i.e., any characters up to and including the last dot ('.'). |
Image |
getIcon(int iconKind)
Returns the resource named "icon. |
String |
getShortDescription()
Returns the resource named "desc", else null. |
Methods inherited from class net.jini.entry.AbstractEntry |
---|
equals, equals, hashCode, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String type
Constructor Detail |
---|
public BasicServiceType()
public BasicServiceType(String type)
type
- type of serviceMethod Detail |
---|
public Image getIcon(int iconKind)
getIcon
in class ServiceType
iconKind
- the kind of icon to return
public String getDisplayName()
getDisplayName
in class ServiceType
public String getShortDescription()
getShortDescription
in class ServiceType
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |