<p>Lazy get put CnvTfsObject([Composite class]).</p>
@param pClass - composite class
@return requested CnvTfsObject([cc])
@throws Exception - an exception
188723
protected final CnvTfsObject
    lazyGetCnvTfsObject(final Class pClass) throws Exception {
    String beanName = getCnvTfsObjectName(pClass);
    @SuppressWarnings("unchecked")
    CnvTfsObject<Object> convrt = (CnvTfsObject<Object>)
      this.convertersMap.get(beanName);
    if (convrt == null) {
      convrt = new CnvTfsObject<Object>();
      convrt.setUtlReflection(getUtlReflection());
      convrt.setFieldsConvertersFatory(this);
      convrt.setFieldConverterNamesHolder(this.fieldConverterNamesHolder);
      convrt.setGettersRapiHolder(this.gettersRapiHolder);
      convrt.setSettersRapiHolder(this.settersRapiHolder);
      convrt.init(pClass);
      this.convertersMap.put(beanName, convrt);
    }
    return convrt;
  }
1237322
protected final CnvIbnEntitiesToCv
    createPutCnvIbnEntitiesToCv() throws Exception {
    CnvIbnEntitiesToCv convrt = new CnvIbnEntitiesToCv();
    convrt.setFieldsRapiHolder(getFieldsRapiHolder());
    convrt.setGettersRapiHolder(getGettersRapiHolder());
    convrt.setTablesMap(getTablesMap());
    this.convertersMap
      .put(CnvIbnEntitiesToCv.class.getSimpleName(), convrt);
    return convrt;
  }
804395
protected final CnvTfsEnum
    createCnvTfsEnum(final String pBeanName,
      final Class pClass) throws Exception {
    CnvTfsEnum convrt = new CnvTfsEnum();
    convrt.setEnumClass(pClass);
    this.convertersMap.put(pBeanName, convrt);
    return convrt;
  }
357163
protected final CnvTfsDate
    createPutCnvTfsDate() throws Exception {
    CnvTfsDate convrt = new CnvTfsDate();
    this.convertersMap.put(CnvTfsDate.class.getSimpleName(), convrt);
    return convrt;
  }
434159
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?, ?> environment)
      throws Exception
   {
      Reference ref = (Reference)obj;
      String className = (String)ref.get("class").getContent();
      String cfname = (String)ref.get("name").getContent();

      return objs.get(qualifiedName(cfname, className));
   }
1271844
public static <T> T createInstance(Class<T> pClass, Object... pParams)
            throws InvocationTargetException {
        T value;

        try {
            // Create param and argument arrays
            Class[] paramTypes = null;
            if (pParams != null && pParams.length > 0) {
                paramTypes = new Class[pParams.length];
                for (int i = 0; i < pParams.length; i++) {
                    paramTypes[i] = pParams[i].getClass();
                }
            }

            // Get constructor
            Constructor<T> constructor = pClass.getConstructor(paramTypes);

            // Invoke and create instance
            value = constructor.newInstance(pParams);
        }
        /* All this to let InvocationTargetException pass on */
        catch (NoSuchMethodException nsme) {
            return null;
        }
        catch (IllegalAccessException iae) {
            return null;
        }
        catch (IllegalArgumentException iarge) {
            return null;
        }
        catch (InstantiationException ie) {
            return null;
        }
        catch (ExceptionInInitializerError err) {
            return null;
        }

        return value;
    }
1081368
protected final PrCuOrSv<RS> lazyGetPrCuOrSv(final Map<String, Object> pAddParam) throws Exception {
    String beanName = PrCuOrSv.class.getSimpleName();
    @SuppressWarnings("unchecked")
    PrCuOrSv<RS> proc = (PrCuOrSv<RS>) this.processorsMap.get(beanName);
    if (proc == null) {
      proc = new PrCuOrSv<RS>();
      proc.setSrvOrm(getSrvOrm());
      proc.setCncOrd(getCncOrd());
      //assigning fully initialized object:
      this.processorsMap.put(beanName, proc);
      this.logger.info(null, FctBnTradeEntitiesProcessors.class, beanName + " has been created.");
    }
    return proc;
  }
1013811
@SuppressWarnings("unchecked")
    private <T> TypedStringConverter<T> findConverterQuiet(final Class<T> cls) {
        if (cls == null) {
            throw new IllegalArgumentException("Class must not be null");
        }
        TypedStringConverter<T> conv = (TypedStringConverter<T>) registered.get(cls);
        if (conv == CACHED_NULL) {
            return null;
        }
        if (conv == null) {
            try {
                conv = findAnyConverter(cls);
            } catch (RuntimeException ex) {
                registered.putIfAbsent(cls, CACHED_NULL);
                throw ex;
            }
            if (conv == null) {
                registered.putIfAbsent(cls, CACHED_NULL);
                return null;
            }
            registered.putIfAbsent(cls, conv);
        }
        return conv;
    }
84606
protected final String getForFDelete(final Class<?> pClass) {
    if (SeGoodsSpecifics.class == pClass
      || SeServiceSpecifics.class == pClass) {
      return PrcEntityFDelete.class.getSimpleName();
    }
    return null;
  }
400811
protected final PrcPurchRetGfe lazyGetPrcPurchRetGfe(
    final Map<String, Object> pAddParam) throws Exception {
    PrcPurchRetGfe proc = (PrcPurchRetGfe)
      this.processorsMap.get(PrcPurchRetGfe.class.getSimpleName());
    if (proc == null) {
      proc = new PrcPurchRetGfe();
      @SuppressWarnings("unchecked")
      PrcEntityPbEditDelete<RS, PurchaseReturn> procDlg =
    (PrcEntityPbEditDelete<RS, PurchaseReturn>) this.fctBnEntitiesProcessors
  .lazyGet(pAddParam, PrcEntityPbEditDelete.class.getSimpleName());
      proc.setPrcEntityPbEditDelete(procDlg);
      //assigning fully initialized object:
      this.processorsMap
        .put(PrcPurchRetGfe.class.getSimpleName(), proc);
    }
    return proc;
  }
1182976
protected final CnvTfsHasId<IHasId<Object>, Object>
    createHasCompositeIdConverter(final String pBeanName,
      final Class pClass, final String pIdName) throws Exception {
    CnvTfsHasId<IHasId<Object>, Object> convrt =
      new CnvTfsHasId<IHasId<Object>, Object>();
    convrt.setUtlReflection(getUtlReflection());
    Field rapiFieldId = this.fieldsRapiHolder.getFor(pClass, pIdName);
    convrt.setIdConverter(lazyGetCnvTfsObject(rapiFieldId.getType()));
    convrt.init(pClass, pIdName);
    this.convertersMap.put(pBeanName, convrt);
    return convrt;
  }
1279561
protected final CnvBnRsToFloat<RS>
    createPutCnvBnRsToFloat() throws Exception {
    CnvBnRsToFloat<RS> convrt = new CnvBnRsToFloat<RS>();
    //assigning fully initialized object:
    this.convertersMap
      .put(CnvBnRsToFloat.class.getSimpleName(), convrt);
    return convrt;
  }
134275
public final synchronized void init(final Class<T> pClass) throws Exception {
    this.objectClass = pClass;
    this.fieldsNames.clear();
    this.gettersMap.clear();
    this.settersMap.clear();
    Field[] fields = getUtlReflection().retrieveFields(this.objectClass);
    for (Field field : fields) {
      Method getter = getUtlReflection()
        .retrieveGetterForField(pClass, field.getName());
      Method setter = getUtlReflection()
        .retrieveSetterForField(pClass, field.getName());
      this.gettersMap.put(field.getName(), getter);
      this.settersMap.put(field.getName(), setter);
      this.fieldsNames.add(field.getName());
    }
  }
2926
protected final CnvTfsHasId<IHasId<Integer>, Integer>
    createHasIntegerIdConverter(final String pBeanName,
      final Class pClass, final String pIdName) throws Exception {
    CnvTfsHasId<IHasId<Integer>, Integer> convrt =
      new CnvTfsHasId<IHasId<Integer>, Integer>();
    convrt.setUtlReflection(getUtlReflection());
    convrt.setIdConverter(lazyGetCnvTfsInteger());
    convrt.init(pClass, pIdName);
    this.convertersMap.put(pBeanName, convrt);
    return convrt;
  }
979135
public static Properties loadMapping(Class pClass) {
        try {
            return SystemUtil.loadProperties(pClass);
        }
        catch (FileNotFoundException fnf) {
            // System.err... err... 
            System.err.println("ERROR: " + fnf.getMessage());	    
        }
        catch (IOException ioe) {
            ioe.printStackTrace();    
        }
        return new Properties();	    
    }
22719
protected final String getForRetrieveForEditDelete(final Class<?> pClass) {
    if (this.seEntities.contains(pClass)) {
      return null;
    } else if (pClass == ServiceSpecifics.class
      || pClass == GoodsSpecifics.class) {
      return PrcItemSpecificsRetrieve.class.getSimpleName();
    } else if (IPersistableBase.class.isAssignableFrom(pClass)) {
      return PrcEntityPbEditDelete.class.getSimpleName();
    }
    return PrcEntityRetrieve.class.getSimpleName();
  }
532622
protected final String getForEFSave(final Class<?> pClass) {
    if (GoodsSpecifics.class == pClass || ServiceSpecifics.class == pClass) {
      return PrcItSpecEmbFlSave.class.getSimpleName();
    }
    return null;
  }