get Facility
Retrieves a facility.
Return
requested facility, or null
if it's not present
Parameters
facility Class
class of the facility
<F>
type of the facility class
Retrieves a facility and registers an observer notified each time it changes.
Return
reference to the requested facility
Parameters
facility Class
class of the facility
observer
observer to notify when the facility changes
<F>
type of the facility class