@NoInstantiate public final class ExportedService extends Object
Constructor and Description |
---|
ExportedService(String serviceInterface,
URL resource)
Create a new service
|
Modifier and Type | Method and Description |
---|---|
URL |
getResource() |
String |
getServiceInterface() |
public ExportedService(String serviceInterface, URL resource)
serviceInterface
- fully qualified name of the interface that defines the service to be located using SPI. Non empty.resource
- resource to be returned when {code serviceInterface} is searched via SPI. Non null.Copyright © 2018. All rights reserved.