net.officefloor.frame.api.manage
Interface Office

All Known Implementing Classes:
OfficeImpl

public interface Office

Office within the OfficeFloor.

Author:
Daniel Sagenschneider

Method Summary
 WorkManager getWorkManager(String workName)
          Obtains the WorkManager for the named Work.
 String[] getWorkNames()
           Obtains the names of the WorkManager instances within this Office.
 

Method Detail

getWorkNames

String[] getWorkNames()

Obtains the names of the WorkManager instances within this Office.

This allows to dynamically manage this Office.

Returns:
Names of the WorkManager instances within this Office.

getWorkManager

WorkManager getWorkManager(String workName)
                           throws UnknownWorkException
Obtains the WorkManager for the named Work.

Parameters:
name - Name of the Work.
Returns:
WorkManager for the named Work.
Throws:
UnknownWorkException - If unknown Work name.


Copyright © 2005-2013. All Rights Reserved.