|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.starface.integration.uci.java.v30.UciServices
public class UciServices
This class contains some utility methods used to convert interfaces to UCI service names and the other way round.
| Field Summary | |
|---|---|
static int |
UCI_VERSION
The UCI version of the current set of UCI interfaces |
| Method Summary | |
|---|---|
static String |
getServiceName(Class<?> serviceInterface)
Retrieves the Name of the UCI service the given interface is tagged with |
static List<String> |
getServiceNames(Class<?>... serviceInterfaces)
Compute a list of string containing the names of all UCI services provided by the given interfaces and all of their super interfaces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UCI_VERSION
| Method Detail |
|---|
public static String getServiceName(Class<?> serviceInterface)
throws IllegalArgumentException
serviceInterface - a interface that is tagged with UciService
UciService annotation
IllegalArgumentException - if the given class is not an interface or it is not annotated with UciServicepublic static List<String> getServiceNames(Class<?>... serviceInterfaces)
serviceInterfaces - any number of interfaces to be scanned for provided services
UciService annotations
present in the interfaces
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||