ServiceTypeInformation Class
- java.
lang. Object - microsoft.
servicefabric. services. remoting. runtime. ServiceTypeInformation
- microsoft.
public class ServiceTypeInformation
Specifies the class used by the ServiceRemoting to lookup the interfaces implemented by the service.
Method Summary
Modifier and Type | Method and Description |
---|---|
Service |
get(Class<?> serviceType)
Factory method that constructs a ServiceTypeInformation object from the given type |
Class<?> |
getImplementationType()
Gets type of the class implementing the service interface. |
List<Class<?>> |
getInterfaceTypes()
The interface types implemented |
boolean |
isAbstract()
Gets if class implementing service interface is abstract. |
Service |
tryGet(Class<?> serviceType)
Gets the Factory method that constructs a ServiceTypeInformation object from the given type. |
Method Details
get
public static ServiceTypeInformation get(Class> serviceType)
Factory method that constructs a ServiceTypeInformation object from the given type
Parameters:
Returns:
getImplementationType
public Class> getImplementationType()
Gets type of the class implementing the service interface.
Returns:
getInterfaceTypes
public List<>>> getInterfaceTypes()
The interface types implemented
Returns:
isAbstract
public boolean isAbstract()
Gets if class implementing service interface is abstract.
Returns:
tryGet
public static ServiceTypeInformation tryGet(Class> serviceType)
Gets the Factory method that constructs a ServiceTypeInformation object from the given type.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for