try {
Object instance = clazz.newInstance();
ConversationalClientStatelessImpl statelessClient = null;
ConversationalClientStatefulImpl statefulClient = null;
if (serviceNum == 1 || serviceNum == 2) {
ServiceReference ref = bundleContext.getServiceReference(ConversationalReferenceClient.class.getName());
statelessClient = (ConversationalClientStatelessImpl)instance;