Package org.objectweb.speedo.mim.api

Examples of org.objectweb.speedo.mim.api.PersistentObjectItf.bind()


  public void makeBound(CacheEntry ce, Object oid) {
    PName pname = (PName) oid;
    PersistentObjectItf sp = (PersistentObjectItf) ce;
    try {
            sp.bind(pname);
        } catch (PException e) {
            logger.log(BasicLevel.WARN, "Error during the binding: ", e);
        }
  }
 
View Full Code Here


    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.