| Package | Description |
|---|---|
| com.exonum.binding.core.runtime |
| Modifier and Type | Method and Description |
|---|---|
abstract ServiceArtifactId |
ServiceInstanceSpec.getArtifactId()
Returns the service artifact id.
|
static ServiceArtifactId |
ServiceArtifactId.newJavaId(String name)
Creates a new service artifact id of a Java artifact.
|
static ServiceArtifactId |
ServiceArtifactId.parseFrom(String serviceArtifactId)
Parses a service id in format "runtimeId:serviceName" as
toString() produces. |
static ServiceArtifactId |
ServiceArtifactId.valueOf(int runtimeId,
String name)
Creates a new service artifact id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceRuntime.deployArtifact(ServiceArtifactId id,
String filename)
Loads a Java service artifact from the specified file.
|
boolean |
ServiceRuntime.isArtifactDeployed(ServiceArtifactId id)
Returns true if an artifact with the given id is currently deployed in this runtime.
|
static ServiceInstanceSpec |
ServiceInstanceSpec.newInstance(String name,
int id,
ServiceArtifactId artifactId) |
Copyright © 2019 Exonum. All rights reserved.