/**
  * Method to create an instance of an interface or abstract class
  *
  * @param pc interface/abstract class declared in metadata
  * @return Instance of the interface / abstract class
  */
 public Object newInstance(Class pc) {
   checkStatus();
   return pm.newInstance(pc);
 }