Package net.officefloor.jaxrs
Class JaxRsSupplierSourceService
java.lang.Object
net.officefloor.jaxrs.JaxRsSupplierSourceService
- All Implemented Interfaces:
SupplierSourceService<JaxRsSupplierSource>,SupplierSourceServiceFactory,ServiceFactory<SupplierSourceService<?>>
public class JaxRsSupplierSourceService
extends Object
implements SupplierSourceService<JaxRsSupplierSource>, SupplierSourceServiceFactory
JAX-RS
SupplierSourceService.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(ServiceContext context) Creates the service.Obtains the alias for theSupplierSourceClass.Obtains theSupplierSourceClass.
-
Constructor Details
-
JaxRsSupplierSourceService
public JaxRsSupplierSourceService()
-
-
Method Details
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<SupplierSourceService<?>>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
getSupplierSourceAlias
Description copied from interface:SupplierSourceServiceObtains the alias for theSupplierSourceClass.- Specified by:
getSupplierSourceAliasin interfaceSupplierSourceService<JaxRsSupplierSource>- Returns:
- Alias for the
SupplierSourceClass.
-
getSupplierSourceClass
Description copied from interface:SupplierSourceServiceObtains theSupplierSourceClass.- Specified by:
getSupplierSourceClassin interfaceSupplierSourceService<JaxRsSupplierSource>- Returns:
SupplierSourceClass.
-