你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CodeBuilderBase Class
- java.
lang. Object - CodeBuilder
- microsoft.
servicefabric. services. remoting. builder. CodeBuilderBase
- microsoft.
public class CodeBuilderBase implements CodeBuilder
Base class from which Actor and Services Code Builder classes extend.
Constructor Summary
Constructor | Description | |
---|---|---|
CodeBuilderBase(CodeBuilderNamesBase codeBuilderNames) |
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract MethodBodyTypesBuildResult |
buildMethodBodyTypes(Class<?> interfaceType)
Method body types |
abstract Method |
buildMethodDispatcher(Class<?> interfaceType)
Method dispatcher |
abstract Proxy |
buildProxyGenerator(Class<?> interfaceType)
Proxy generator. |
CodeBuilderNames |
getNames()
Get code builder names. |
MethodBodyTypesBuildResult |
getOrBuildMethodBodyTypes(Class<?> interfaceType)
Get or Build method body type. |
Method |
getOrBuildMethodDispatcher(Class<?> interfaceType)
Get or Build Method Dispatcher. |
Proxy |
getOrBuildProxyGenerator(Class<?> interfaceType)
Get or build the proxy generator. |
Constructor Details
CodeBuilderBase
protected CodeBuilderBase(CodeBuilderNamesBase codeBuilderNames)
Parameters:
Method Details
buildMethodBodyTypes
protected abstract MethodBodyTypesBuildResult buildMethodBodyTypes(Class interfaceType)
Method body types
Parameters:
Returns:
buildMethodDispatcher
protected abstract MethodDispatcherBuildResult buildMethodDispatcher(Class interfaceType)
Method dispatcher
Parameters:
Returns:
buildProxyGenerator
protected abstract ProxyGeneratorBuildResult buildProxyGenerator(Class interfaceType)
Proxy generator.
Parameters:
Returns:
getNames
public CodeBuilderNames getNames()
Get code builder names.
Overrides:
CodeBuilderBase.getNames()Returns:
getOrBuildMethodBodyTypes
public MethodBodyTypesBuildResult getOrBuildMethodBodyTypes(Class interfaceType)
Get or Build method body type.
Overrides:
CodeBuilderBase.getOrBuildMethodBodyTypes(Class<?> interfaceType)Parameters:
Returns:
getOrBuildMethodDispatcher
public MethodDispatcherBuildResult getOrBuildMethodDispatcher(Class interfaceType)
Get or Build Method Dispatcher.
Overrides:
CodeBuilderBase.getOrBuildMethodDispatcher(Class<?> interfaceType)Parameters:
Returns:
getOrBuildProxyGenerator
public ProxyGeneratorBuildResult getOrBuildProxyGenerator(Class interfaceType)
Get or build the proxy generator.
Overrides:
CodeBuilderBase.getOrBuildProxyGenerator(Class<?> interfaceType)Parameters:
Returns: