public class AsyncStubFactory extends StandardJavaGrpcStubFactory
Constructor and Description |
---|
AsyncStubFactory() |
Modifier and Type | Method and Description |
---|---|
protected String |
getFactoryMethodName()
Derives the name of the factory method from the given stub type.
|
boolean |
isApplicable(Class<? extends AbstractStub<?>> stubType)
Used to resolve a factory that matches the particular stub type.
|
createStub
public boolean isApplicable(Class<? extends AbstractStub<?>> stubType)
StubFactory
stubType
- The type of the stub that needs to be created.protected String getFactoryMethodName()
StandardJavaGrpcStubFactory
getFactoryMethodName
in class StandardJavaGrpcStubFactory