Object associated with the given key. For instance, If the ServiceManager had a LoggerComponent stored and referenced by key, the following could be used: try { LoggerComponent log; myComponent = (LoggerComponent) manager.lookup( LoggerComponent.ROLE ); } catch (...) { ... }
@param key The lookup key of the Object to retrieve.
@return an Object value
@throws ServiceException if an error occurs
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |