*
* @param reference the service reference of the type declaration
* @return the managed type object wrapping the service object.
*/
public Object addingService(ServiceReference reference) {
TypeDeclaration declaration = (TypeDeclaration) m_bundleContext.getService(reference);
ManagedType managedType = new ManagedType(reference.getBundle().getBundleContext(), m_queueService, declaration);
managedType.start();
return managedType;
}