Examples of RefAddr


Examples of javax.naming.RefAddr

        throws Exception {
       
        if (obj instanceof ResourceRef) {
            Reference ref = (Reference) obj;
            ObjectFactory factory = null;
            RefAddr factoryRefAddr = ref.get(Constants.FACTORY);
            if (factoryRefAddr != null) {
                // Using the specified factory
                String factoryClassName =
                    factoryRefAddr.getContent().toString();
                // Loading factory
                ClassLoader tcl =
                    Thread.currentThread().getContextClassLoader();
                Class factoryClass = null;
                if (tcl != null) {
View Full Code Here

Examples of org.zkoss.zss.engine.impl.RefAddr

        final int nbottom = rowOffset > 0 ? Math.min(maxRow, bottom) : bottom;
       
        if (nleft > nright || ntop > nbottom) { //offset out of range
          continue;
        }
        final RefAddr refAddr = new RefAddr(ntop, nleft, nbottom, nright);
        if (refMap.containsKey(refAddr)) { //same area there, next
          continue;
        }
        final Ref newRef = (nleft == nright && ntop == nbottom) ?
          new CellRefImpl(ntop, nleft, refSheet) :
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.