你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CodeBuilder Interface

public interface CodeBuilder

Base interface for Actor and Services code builder singleton classes.

Method Summary

Modifier and Type Method and Description
CodeBuilderNames getNames()

Get code builder names.

MethodBodyTypesBuildResult getOrBuildMethodBodyTypes(Class<?> interfaceType)

Get or Build method body type.

MethodDispatcherBuildResult getOrBuildMethodDispatcher(Class<?> interfaceType)

Get or Build Method Dispatcher.

ProxyGeneratorBuildResult getOrBuildProxyGenerator(Class<?> interfaceType)

Get or build the proxy generator.

Method Details

getNames

public CodeBuilderNames getNames()

Get code builder names.

Returns:

An object of CodeBuilderNames

getOrBuildMethodBodyTypes

public MethodBodyTypesBuildResult getOrBuildMethodBodyTypes(Class interfaceType)

Get or Build method body type.

Parameters:

interfaceType - Interface type.

Returns:

Method body types build result microsoft.servicefabric.services.remoting.builder.MethodBodyTypesBuildResult

getOrBuildMethodDispatcher

public MethodDispatcherBuildResult getOrBuildMethodDispatcher(Class interfaceType)

Get or Build Method Dispatcher.

Parameters:

interfaceType - Type of the Interface.

Returns:

Method Dispatcher build result.

getOrBuildProxyGenerator

public ProxyGeneratorBuildResult getOrBuildProxyGenerator(Class interfaceType)

Get or build the proxy generator.

Parameters:

interfaceType - Interface type.

Returns:

proxy generator build result ProxyGeneratorBuildResult

Applies to