public class MathServiceProvider extends Object implements ServiceProvider
Constructor and Description |
---|
MathServiceProvider() |
Modifier and Type | Method and Description |
---|---|
Collection<Service> |
createServices()
Returns a collection of services to be registered.
|
String |
getName()
Returns the name of the service provider.
|
static ServiceMethodDescription |
multiplyMethod()
Creates the service method description for the multiplication service
method.
|
public static ServiceMethodDescription multiplyMethod()
public String getName()
ServiceProvider
getName
in interface ServiceProvider
public Collection<Service> createServices()
ServiceProvider
createServices
in interface ServiceProvider
Copyright © 2015. All rights reserved.