Package net.officefloor.spring
Class SpringSupplierSourceService
- java.lang.Object
-
- net.officefloor.spring.SpringSupplierSourceService
-
- All Implemented Interfaces:
SupplierSourceService<SpringSupplierSource>
,SupplierSourceServiceFactory
,ServiceFactory<SupplierSourceService<?>>
public class SpringSupplierSourceService extends java.lang.Object implements SupplierSourceService<SpringSupplierSource>, SupplierSourceServiceFactory
SpringSupplierSourceService
.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALIAS
Alias name for theSpringSupplierSource
.
-
Constructor Summary
Constructors Constructor Description SpringSupplierSourceService()
-
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<SpringSupplierSource>
getSupplierSourceClass()
Obtains theSupplierSource
Class
.
-
-
-
Field Detail
-
ALIAS
public static final java.lang.String ALIAS
Alias name for theSpringSupplierSource
.- See Also:
- Constant Field Values
-
-
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<SpringSupplierSource>
- Returns:
- Alias for the
SupplierSource
Class
.
-
getSupplierSourceClass
public java.lang.Class<SpringSupplierSource> getSupplierSourceClass()
Description copied from interface:SupplierSourceService
Obtains theSupplierSource
Class
.- Specified by:
getSupplierSourceClass
in interfaceSupplierSourceService<SpringSupplierSource>
- Returns:
SupplierSource
Class
.
-
-