code: protected Class[] getInterfaces(TargetMetaDef targetMetaDef) {
  		Class[] interfaces = targetMetaDef.getInterfaces();
  		if (interfaces != null)
  			return interfaces;
  		try {
  			interfaces = getPOJOInterfaces(targetMetaDef);
  		} catch (Exception ex) {
  			Debug.logError("[JdonFramework] getInterfaces error:" + ex, module);
  		} catch (Throwable ex) {
  			Debug.logError("[JdonFramework] getInterfaces error:" + ex, module);
  		}
  		if ((interfaces == null) || (interfaces.length == 0)) {
  			Debug.logError("[JdonFramework] no find any interface for the service:" + targetMetaDef.getClassName(), module);
  		} else {
  			targetMetaDef.setInterfaces(interfaces); // cache the result
  			Debug.logVerbose("[JdonFramework]found the the below interfaces for the service:" + targetMetaDef.getClassName(), module);
  			for (int i = 0; i < interfaces.length; i++) {
  				Debug.logVerbose(interfaces[i].getName() + ";", module);
  			}
  		}
  		return interfaces;
  	}
docs: get the interface of target class if it is EJB, it is ejb local/remote
  interface if it is pojo, it is a class .
  
  
  @param targetMetaDef
  @return