public Object addingService(ServiceReference reference) {
System.out.println("IHello service proxy being added");
// Since this reference is for a remote service,
// The service object returned is a proxy implementing the
// IHello interface
IHello proxy = (IHello) bundleContext.getService(reference);
// Call proxy synchronously. Note that this call may block or fail due to
// synchronous communication with remote service
System.out.println("STARTING remote call via proxy...");
proxy.hello(CONSUMER_NAME+" via proxy");
System.out.println("COMPLETED remote call via proxy");
System.out.println();
// Call other helloMessage method
System.out.println("STARTING remote call via proxy...");
proxy.helloMessage(new HelloMessage(CONSUMER_NAME+" via proxy","howdy"));
System.out.println("COMPLETED remote call via proxy");
System.out.println();
// If the proxy is also an instance of IHelloAsync then use
// this asynchronous interface to invoke methods asynchronously