Class BlockingStubFactory
java.lang.Object
net.devh.boot.grpc.client.stubfactory.StandardJavaGrpcStubFactory
net.devh.boot.grpc.client.stubfactory.BlockingStubFactory
- All Implemented Interfaces:
StubFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringDerives the name of the factory method from the given stub type.booleanisApplicable(Class<? extends AbstractStub<?>> stubType) Used to resolve a factory that matches the particular stub type.Methods inherited from class net.devh.boot.grpc.client.stubfactory.StandardJavaGrpcStubFactory
createStub
-
Constructor Details
-
BlockingStubFactory
public BlockingStubFactory()
-
-
Method Details
-
isApplicable
Description copied from interface:StubFactoryUsed to resolve a factory that matches the particular stub type.- Parameters:
stubType- The type of the stub that needs to be created.- Returns:
- True if this particular factory is capable of creating instances of this stub type. False otherwise.
-
getFactoryMethodName
Description copied from class:StandardJavaGrpcStubFactoryDerives the name of the factory method from the given stub type.- Specified by:
getFactoryMethodNamein classStandardJavaGrpcStubFactory- Returns:
- The name of the factory method.
-