Schnittstelle LocalServiceBinder
- Alle bekannten Implementierungsklassen:
AnnotationLocalServiceBinder
public interface LocalServiceBinder
Reads
LocalService metadata given a Java class.- Autor:
- Christian Bauer
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungread(Class<?> clazz, ServiceId id, ServiceType type, boolean supportsQueryStateVariables, Class[] stringConvertibleTypes)
-
Methodendetails
-
read
- Parameter:
clazz- The Java class that is the source of the service metadata.- Gibt zurück:
- The produced metadata.
- Löst aus:
LocalServiceBindingException- If binding failed.
-
read
LocalService read(Class<?> clazz, ServiceId id, ServiceType type, boolean supportsQueryStateVariables, Class[] stringConvertibleTypes) throws LocalServiceBindingException - Parameter:
clazz- The Java class that is the source of the service metadata.id- The pre-defined identifier of the service.type- The pre-defined type of the service.supportsQueryStateVariables-trueif the service should support the deprecated "query any state variable value" action.stringConvertibleTypes- A list of Java classes which map directly to string-typed UPnP state variables.- Gibt zurück:
- The produced metadata.
- Löst aus:
LocalServiceBindingException- If binding failed.
-