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.StringALIASAlias 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.StringgetSupplierSourceAlias()Obtains the alias for theSupplierSourceClass.java.lang.Class<SpringSupplierSource>getSupplierSourceClass()Obtains theSupplierSourceClass.
-
-
-
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:ServiceFactoryCreates the service.- Specified by:
createServicein 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:SupplierSourceServiceObtains the alias for theSupplierSourceClass.- Specified by:
getSupplierSourceAliasin interfaceSupplierSourceService<SpringSupplierSource>- Returns:
- Alias for the
SupplierSourceClass.
-
getSupplierSourceClass
public java.lang.Class<SpringSupplierSource> getSupplierSourceClass()
Description copied from interface:SupplierSourceServiceObtains theSupplierSourceClass.- Specified by:
getSupplierSourceClassin interfaceSupplierSourceService<SpringSupplierSource>- Returns:
SupplierSourceClass.
-
-