Class OfficeFloorMBeanRegistratorImpl
- java.lang.Object
-
- net.officefloor.compile.impl.structure.OfficeFloorMBeanRegistratorImpl
-
- All Implemented Interfaces:
OfficeFloorMBeanRegistrator,OfficeFloorListener
public class OfficeFloorMBeanRegistratorImpl extends java.lang.Object implements OfficeFloorMBeanRegistrator, OfficeFloorListener
OfficeFloorMBeanRegistratorinstance.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorMBeanRegistratorImpl(MBeanRegistrator mbeanRegistrator)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidofficeFloorClosed(OfficeFloorEvent event)Notifies that theOfficeFloorhas been closed.voidofficeFloorOpened(OfficeFloorEvent event)Notifies that theOfficeFloorhas been opened.voidregisterPossibleMBean(java.lang.Class<?> type, java.lang.String name, java.lang.Object mbean)Registers a possible MBean.
-
-
-
Constructor Detail
-
OfficeFloorMBeanRegistratorImpl
public OfficeFloorMBeanRegistratorImpl(MBeanRegistrator mbeanRegistrator)
Instantiate.- Parameters:
mbeanRegistrator-MBeanRegistrator.
-
-
Method Detail
-
registerPossibleMBean
public void registerPossibleMBean(java.lang.Class<?> type, java.lang.String name, java.lang.Object mbean)Description copied from interface:OfficeFloorMBeanRegistratorRegisters a possible MBean.- Specified by:
registerPossibleMBeanin interfaceOfficeFloorMBeanRegistrator- Parameters:
type- Type of MBean.name- Name of MBean.mbean- MBean.
-
officeFloorOpened
public void officeFloorOpened(OfficeFloorEvent event) throws java.lang.Exception
Description copied from interface:OfficeFloorListenerNotifies that theOfficeFloorhas been opened.- Specified by:
officeFloorOpenedin interfaceOfficeFloorListener- Parameters:
event-OfficeFloorEvent.- Throws:
java.lang.Exception- If fails to handle open listen logic.
-
officeFloorClosed
public void officeFloorClosed(OfficeFloorEvent event) throws java.lang.Exception
Description copied from interface:OfficeFloorListenerNotifies that theOfficeFloorhas been closed.- Specified by:
officeFloorClosedin interfaceOfficeFloorListener- Parameters:
event-OfficeFloorEvent.- Throws:
java.lang.Exception- If fails to handle close listen logic.
-
-