Package org.objectweb.jorm.naming.api

Examples of org.objectweb.jorm.naming.api.PName.resolve()


    if (!(oid instanceof PName))
      throw new PersistenceException("Unmanaged object identifier: " + oid);
    PName pn = (PName) oid;
    String className = null;
    try {
      pn = pn.resolve(context);
      if (logger.isLoggable(BasicLevel.DEBUG)) {
        logger.log(BasicLevel.DEBUG, "newInstance(" + oid + "): pn.resolve=" + pn);
        logger.log(BasicLevel.DEBUG, "newInstance(" + oid + "): pn.type=" + pn.getPType());
      }
      PType type = pn.getPType();
View Full Code Here


    PersistentObjectItf sp =  (PersistentObjectItf) obj;
    PName pn = (PName) id;
    activePO(sp, pn);
    if (sp.getPName() == null || sp.getPName().isNull()) {
      try {
        pn.resolve(null);
        sp.bind(pn);
      } catch (PException e) {
        throw personality.newRuntimeException(
            "Impossible to bind the po to its persistent name: ", e);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.