Package net.officefloor.compile.mbean
Interface OfficeFloorMBean
-
public interface OfficeFloorMBean
Proxy
interface for theOfficeFloor
MBean.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeOfficeFloor()
Closes theOfficeFloor
.java.lang.String[]
getManagedFunctionNames(java.lang.String officeName)
Obtains the names of theManagedFunction
instances within theOffice
.java.lang.String
getManagedFunctionParameterType(java.lang.String officeName, java.lang.String functionName)
Obtains the parameter type for theManagedFunction
.java.lang.String[]
getOfficeNames()
Obtain the names of theOffice
instances within theOfficeFloor
.void
invokeFunction(java.lang.String officeName, java.lang.String functionName, java.lang.String parameter)
Invokes theManagedFunction
.
-
-
-
Method Detail
-
getOfficeNames
java.lang.String[] getOfficeNames()
Obtain the names of theOffice
instances within theOfficeFloor
.- Returns:
- Names of the
Office
instances within theOfficeFloor
.
-
getManagedFunctionNames
java.lang.String[] getManagedFunctionNames(java.lang.String officeName)
Obtains the names of theManagedFunction
instances within theOffice
.- Parameters:
officeName
- Name of theOffice
.- Returns:
- Names of the
ManagedFunction
instances within theOffice
.
-
getManagedFunctionParameterType
java.lang.String getManagedFunctionParameterType(java.lang.String officeName, java.lang.String functionName)
Obtains the parameter type for theManagedFunction
.- Parameters:
officeName
- Name of theOffice
.functionName
- Name of theManagedFunction
.- Returns:
- Parameter type for the
ManagedFunction
. May benull
if no parameter forManagedFunction
.
-
invokeFunction
void invokeFunction(java.lang.String officeName, java.lang.String functionName, java.lang.String parameter)
Invokes theManagedFunction
.- Parameters:
officeName
- Name of theOffice
.functionName
- Name of theManagedFunction
within theOffice
.parameter
- Optional parameter for theManagedFunction
. May benull
.
-
closeOfficeFloor
void closeOfficeFloor()
Closes theOfficeFloor
.
-
-