Examples of ungetTarget()


Examples of org.apache.felix.gogo.runtime.CommandProxy.ungetTarget()

            if (target instanceof Function) {
                result = (Function) target;
            } else {
                result = function;
            }
            proxy.ungetTarget();
            return result;
        } else {
            return function;
        }
    }
View Full Code Here

Examples of org.apache.felix.gogo.runtime.CommandProxy.ungetTarget()

        CommandProxy proxy = (CommandProxy)function;
        Object target = proxy.getTarget();
        try {
            return target instanceof Function ? (Function)target : function;
        } finally {
            proxy.ungetTarget();
        }
    }

    private class CommandTracker {
        public CommandTracker() throws Exception {
View Full Code Here

Examples of org.jboss.dependency.spi.tracker.ContextTracking.ungetTarget()

   protected static Object ungetTarget(ControllerContext user, ControllerContext used)
   {
      if (used instanceof ContextTracking)
      {
         ContextTracking ct = ContextTracking.class.cast(used);
         ct.ungetTarget(user);
      }
      return null;
   }

   @XmlTransient
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.