Package net.officefloor.woof
Class WoofLoaderOfficeExtensionService
- java.lang.Object
-
- net.officefloor.woof.WoofLoaderOfficeExtensionService
-
- All Implemented Interfaces:
OfficeExtensionService
,OfficeExtensionServiceFactory
,ServiceFactory<OfficeExtensionService>
public class WoofLoaderOfficeExtensionService extends java.lang.Object implements OfficeExtensionService, OfficeExtensionServiceFactory
OfficeExtensionService
for theWoofLoader
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WoofLoaderOfficeExtensionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfficeExtensionService
createService(ServiceContext context)
Creates the service.void
extendOffice(OfficeArchitect officeArchitect, OfficeExtensionContext context)
Extends theOffice
.
-
-
-
Method Detail
-
createService
public OfficeExtensionService createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<OfficeExtensionService>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
extendOffice
public void extendOffice(OfficeArchitect officeArchitect, OfficeExtensionContext context) throws java.lang.Exception
Description copied from interface:OfficeExtensionService
Extends theOffice
.- Specified by:
extendOffice
in interfaceOfficeExtensionService
- Parameters:
officeArchitect
-OfficeArchitect
.context
-OfficeExtensionContext
.- Throws:
java.lang.Exception
- If fails to extend theOffice
.
-
-