### YamlMime:JavaType methods: - fullName: system.fabric.CodePackageActivationContext.getApplicationName() name: getApplicationName() nameWithType: CodePackageActivationContext.getApplicationName() returns: description:
The name of the application.
type:Gets the name of the application.
syntax: public String getApplicationName() uid: system.fabric.CodePackageActivationContext.getApplicationName() - fullName: system.fabric.CodePackageActivationContext.getApplicationTypeName() name: getApplicationTypeName() nameWithType: CodePackageActivationContext.getApplicationTypeName() returns: description:The name of the application type.
type:Gets the name of the application type.
syntax: public String getApplicationTypeName() uid: system.fabric.CodePackageActivationContext.getApplicationTypeName() - fullName: system.fabric.CodePackageActivationContext.getCodePackageAddedEvent() name: getCodePackageAddedEvent() nameWithType: CodePackageActivationContext.getCodePackageAddedEvent() returns: description:Getter for the CodePackageAddedEvent
CodePackageAddedEvent should be used to register listeners to listen to the events that are generated on adding new Code package to service manifest.
syntax: public ObservableGetter for the CodePackageRemovedEvent
CodePackageRemovedEvent should be used to register listeners to listen to the events that are generated on modifying a Code package in the service manifest.
syntax: public ObservableThe name of the fabric activated code package.
type:Gets the name of the fabric activated code package.
syntax: public String getCodePackageName() uid: system.fabric.CodePackageActivationContext.getCodePackageName() - fullName: system.fabric.CodePackageActivationContext.getCodePackageNames() name: getCodePackageNames() nameWithType: CodePackageActivationContext.getCodePackageNames() returns: description:The list of code package names in the service manifest.
type:Retrieves the list of code package names in the service manifest.
syntax: public ListName of the CodePackage
name: packageName type:returns
Returns the CodePackage object from Service Package that matches the packageName parameter
syntax: public CodePackage getCodePackageObject(String packageName) uid: system.fabric.CodePackageActivationContext.getCodePackageObject(String) - fullName: system.fabric.CodePackageActivationContext.getCodePackageRemovedEvent() name: getCodePackageRemovedEvent() nameWithType: CodePackageActivationContext.getCodePackageRemovedEvent() returns: description:Getter for the CodePackageRemovedEvent
CodePackageRemovedEvent should be used to register listeners to listen to the events that are generated on removing a Code package in the service manifest.
syntax: public ObservableThe version of the fabric activated code package.
type:Gets the version of the fabric activated code package
syntax: public String getCodePackageVersion() uid: system.fabric.CodePackageActivationContext.getCodePackageVersion() - fullName: system.fabric.CodePackageActivationContext.getConfigurationPackageAddedEvent() name: getConfigurationPackageAddedEvent() nameWithType: CodePackageActivationContext.getConfigurationPackageAddedEvent() returns: description:Getter for the ConfigurationPackageAddedEvent
ConfigurationPackageAddedEvent should be used to register listeners to listen to the events that are generated on adding new Config package to service manifest.
syntax: public ObservableGetter for the ConfigurationPackageAddedEvent
ConfigurationPackageAddedEvent should be used to register listeners to listen to the events that are generated on modifying a Config package in the service manifest.
syntax: public ObservableThe list of configuration package names in the service manifest.
type:Retrieves the list of configuration package names in the service manifest.
syntax: public ListName of the ConfigurationPackage
name: packageName type:returns
Returns ConfigurationPackage object from Service Package that matches the packageName parameter
syntax: public ConfigurationPackage getConfigurationPackageObject(String packageName) uid: system.fabric.CodePackageActivationContext.getConfigurationPackageObject(String) - fullName: system.fabric.CodePackageActivationContext.getConfigurationPackageRemovedEvent() name: getConfigurationPackageRemovedEvent() nameWithType: CodePackageActivationContext.getConfigurationPackageRemovedEvent() returns: description:Getter for the ConfigurationPackageAddedEvent
ConfigurationPackageAddedEvent should be used to register listeners to listen to the events that are generated on removing a Config package in the service manifest.
syntax: public ObservableThe context ID.
type:Gets the ID that represents the service package name qualified with Application package name.
syntax: public String getContextId() uid: system.fabric.CodePackageActivationContext.getContextId() - fullName: system.fabric.CodePackageActivationContext.getDataPackageAddedEvent() name: getDataPackageAddedEvent() nameWithType: CodePackageActivationContext.getDataPackageAddedEvent() returns: description:Getter for the DataPackageAddedEvent
DataPackageAddedEvent should be used to register listeners to listen to the events that are generated on adding new Data package to service manifest.
syntax: public ObservableGetter for the DataPackageAddedEvent
DataPackageAddedEvent should be used to register listeners to listen to the events that are generated on modifying a Data package in the service manifest.
syntax: public ObservableA list of data packages.
type:Retrieves all data packages by name.
syntax: public ListName of the DataPackage
name: packageName type:Returns DataPackage object from Service Package that matches the packageName parameter.
type:Returns DataPackage object from Service Package that matches the packageName parameter
syntax: public DataPackage getDataPackageObject(String packageName) uid: system.fabric.CodePackageActivationContext.getDataPackageObject(String) - fullName: system.fabric.CodePackageActivationContext.getDataPackageRemovedEvent() name: getDataPackageRemovedEvent() nameWithType: CodePackageActivationContext.getDataPackageRemovedEvent() returns: description:Getter for the DataPackageAddedEvent
DataPackageAddedEvent should be used to register listeners to listen to the events that are generated on removing a Data package in the service manifest.
syntax: public ObservableThe name of the endpoint.
name: endpointName type:The endpoint with a specified name.
type:Retrieves the endpoint by name.
syntax: public EndpointResourceDescription getEndpoint(String endpointName) uid: system.fabric.CodePackageActivationContext.getEndpoint(String) - fullName: system.fabric.CodePackageActivationContext.getEndpoints() name: getEndpoints() nameWithType: CodePackageActivationContext.getEndpoints() returns: description:The end point names in the service manifest.
type: LinkedHashMap<String,Retrieves all the end point names in the service manifest.
syntax: public LinkedHashMapThe path to the application logs directory.
type:Gets the path to the log directory that the application can use.
syntax: public String getLogDirectory() uid: system.fabric.CodePackageActivationContext.getLogDirectory() - fullName: system.fabric.CodePackageActivationContext.getServiceListenAddress() name: getServiceListenAddress() nameWithType: CodePackageActivationContext.getServiceListenAddress() returns: description:The address at which the service should start the communication listener
type:The address at which the service should start the communication listener.
syntax: public String getServiceListenAddress() uid: system.fabric.CodePackageActivationContext.getServiceListenAddress() - fullName: system.fabric.CodePackageActivationContext.getServiceManifestName() name: getServiceManifestName() nameWithType: CodePackageActivationContext.getServiceManifestName() returns: description:The name of the service manifest.
type:Retrieves the name of the service manifest.
syntax: public String getServiceManifestName() uid: system.fabric.CodePackageActivationContext.getServiceManifestName() - fullName: system.fabric.CodePackageActivationContext.getServiceManifestVersion() name: getServiceManifestVersion() nameWithType: CodePackageActivationContext.getServiceManifestVersion() returns: description:The version of the service manifest.
type:Retrieves the version of the service manifest.
syntax: public String getServiceManifestVersion() uid: system.fabric.CodePackageActivationContext.getServiceManifestVersion() - fullName: system.fabric.CodePackageActivationContext.getServicePublishAddress() name: getServicePublishAddress() nameWithType: CodePackageActivationContext.getServicePublishAddress() returns: description:The address which the service should publish as the listen address.
type:The address which the service should publish as the listen address.
syntax: public String getServicePublishAddress() uid: system.fabric.CodePackageActivationContext.getServicePublishAddress() - fullName: system.fabric.CodePackageActivationContext.getServiceTypes() name: getServiceTypes() nameWithType: CodePackageActivationContext.getServiceTypes() returns: description:The list of Service Group types in the service manifest.
type: LinkedHashMap<String,Retrieves the list of Service Group types in the service manifest.
syntax: public LinkedHashMapThe path to the Temp directory.
type:Gets the path to the Temp directory that the Application can use.
syntax: public String getTempDirectory() uid: system.fabric.CodePackageActivationContext.getTempDirectory() - fullName: system.fabric.CodePackageActivationContext.getWorkDirectory() name: getWorkDirectory() nameWithType: CodePackageActivationContext.getWorkDirectory() returns: description:The path to the Work directory.
type:Gets the path to the Work directory that the Application can use.
syntax: public String getWorkDirectory() uid: system.fabric.CodePackageActivationContext.getWorkDirectory() - fullName: system.fabric.CodePackageActivationContext.reportApplicationHealth(HealthInformation healthInfo) name: reportApplicationHealth(HealthInformation healthInfo) nameWithType: CodePackageActivationContext.reportApplicationHealth(HealthInformation healthInfo) parameters: - description:Health information that is to be reported.
name: healthInfo type:Reports health for current application.
syntax: public void reportApplicationHealth(HealthInformation healthInfo) uid: system.fabric.CodePackageActivationContext.reportApplicationHealth(HealthInformation) - fullName: system.fabric.CodePackageActivationContext.reportDeployedApplicationHealth(HealthInformation healthInfo) name: reportDeployedApplicationHealth(HealthInformation healthInfo) nameWithType: CodePackageActivationContext.reportDeployedApplicationHealth(HealthInformation healthInfo) parameters: - description:Health information that is to be reported.
name: healthInfo type:Reports health for current deployed application.
syntax: public void reportDeployedApplicationHealth(HealthInformation healthInfo) uid: system.fabric.CodePackageActivationContext.reportDeployedApplicationHealth(HealthInformation) - fullName: system.fabric.CodePackageActivationContext.reportDeployedServicePackageHealth(HealthInformation healthInfo) name: reportDeployedServicePackageHealth(HealthInformation healthInfo) nameWithType: CodePackageActivationContext.reportDeployedServicePackageHealth(HealthInformation healthInfo) parameters: - description:Health information that is to be reported.
name: healthInfo type:Reports health for current deployed service package.
syntax: public void reportDeployedServicePackageHealth(HealthInformation healthInfo) uid: system.fabric.CodePackageActivationContext.reportDeployedServicePackageHealth(HealthInformation) nameWithType: CodePackageActivationContext syntax: public interface CodePackageActivationContext type: interface uid: system.fabric.CodePackageActivationContext fullName: system.fabric.CodePackageActivationContext name: CodePackageActivationContext package: system.fabric summary:Represents activation context for the Service Fabric service. This is valid for fabric activated service only.
metadata: {}