Package net.officefloor.frame.api.build
Interface OfficeFloorListener
-
- All Known Implementing Classes:
NettyHttpServerImplementation
,OfficeFloorMBeanRegistratorImpl
,UndertowHttpServerImplementation
public interface OfficeFloorListener
Listens to the open/close of theOfficeFloor
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
officeFloorClosed(OfficeFloorEvent event)
Notifies that theOfficeFloor
has been closed.void
officeFloorOpened(OfficeFloorEvent event)
Notifies that theOfficeFloor
has been opened.
-
-
-
Method Detail
-
officeFloorOpened
void officeFloorOpened(OfficeFloorEvent event) throws java.lang.Exception
Notifies that theOfficeFloor
has been opened.- Parameters:
event
-OfficeFloorEvent
.- Throws:
java.lang.Exception
- If fails to handle open listen logic.
-
officeFloorClosed
void officeFloorClosed(OfficeFloorEvent event) throws java.lang.Exception
Notifies that theOfficeFloor
has been closed.- Parameters:
event
-OfficeFloorEvent
.- Throws:
java.lang.Exception
- If fails to handle close listen logic.
-
-