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