다음을 통해 공유


ServiceInitializationParameters Class

  • java.lang.Object
    • system.fabric.ServiceInitializationParameters

public class ServiceInitializationParameters

Remarks:Derived types define initialization data that are specific to stateless and stateful services.

Method Summary

Modifier and Type Method and Description
FabricCodePackageActivationContext getCodePackageActivationContext()

Specifies the activation context that is associated with the code package that contains the service.

byte [] getInitializationData()

Specifies custom initialization data that is provided by the creator of the service as part of the service description.

UUID getPartitionId()

Specifies the unique identifier of the service partition.

URI getServiceName()

Indicates the Service Fabric name of the service.

String getServiceTypeName()

Indicates the name of the type of the service.

Method Details

getCodePackageActivationContext

public FabricCodePackageActivationContext getCodePackageActivationContext()

Specifies the activation context that is associated with the code package that contains the service.

Returns:

getInitializationData

public byte [] getInitializationData()

Specifies custom initialization data that is provided by the creator of the service as part of the service description.

Returns:

Returns java.lang.Byte.

getPartitionId

public UUID getPartitionId()

Specifies the unique identifier of the service partition.

Returns:

Returns java.util.UUID.

getServiceName

public URI getServiceName()

Indicates the Service Fabric name of the service.

Returns:

Returns java.net.URI.

getServiceTypeName

public String getServiceTypeName()

Indicates the name of the type of the service.

Returns:

Returns java.lang.String.

Applies to