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 java.lang.Object implements SupplierSourceService<JaxRsSupplierSource>, SupplierSourceServiceFactory
JAX-RSSupplierSourceService
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description JaxRsSupplierSourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SupplierSourceService<?>
createService(ServiceContext context)
Creates the service.java.lang.String
getSupplierSourceAlias()
Obtains the alias for theSupplierSource
Class
.java.lang.Class<JaxRsSupplierSource>
getSupplierSourceClass()
Obtains theSupplierSource
Class
.
-
-
-
Method Detail
-
createService
public SupplierSourceService<?> createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<SupplierSourceService<?>>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
getSupplierSourceAlias
public java.lang.String getSupplierSourceAlias()
Description copied from interface:SupplierSourceService
Obtains the alias for theSupplierSource
Class
.- Specified by:
getSupplierSourceAlias
in interfaceSupplierSourceService<JaxRsSupplierSource>
- Returns:
- Alias for the
SupplierSource
Class
.
-
getSupplierSourceClass
public java.lang.Class<JaxRsSupplierSource> getSupplierSourceClass()
Description copied from interface:SupplierSourceService
Obtains theSupplierSource
Class
.- Specified by:
getSupplierSourceClass
in interfaceSupplierSourceService<JaxRsSupplierSource>
- Returns:
SupplierSource
Class
.
-
-