150151152153154155156157158159160
throw new NotFoundException(bundle.keyNotRegistered(uniqueId)); Connector md = raTemplates.get(uniqueId); // Always return a copy as the caller may make changes to it return (Connector)md.copy(); } /** * {@inheritDoc} */
144145146147148149150151152153154
throw new NotFoundException(uniqueId + " isn't registered"); Connector md = raTemplates.get(uniqueId); // Always return a copy as the caller may make changes to it return (Connector)md.copy(); } /** * {@inheritDoc} */
117118119120121122123124125126127
throw new NotFoundException(deployment + " isn't registered"); Connector md = raTemplates.get(deployment); // Always return a copy as the caller may make changes to it return (Connector)md.copy(); } /** * {@inheritDoc} */