Examples of detach()


Examples of org.apache.axis2.soap.SOAPHeaderBlock.detach()

        SOAPHeader soapHeader = env.getHeader();
        if (soapHeader != null) {
            Iterator iterator = soapHeader.getChildren();
            while (iterator.hasNext()) {
                SOAPHeaderBlock headerBlock = (SOAPHeaderBlock) iterator.next();
                headerBlock.detach();
            }
        }
        return env;
    }
View Full Code Here

Examples of org.apache.cayenne.util.ObjectDetachOperation.detach()

                // often a query will not have any info indicating the
                // entity type
                ClassDescriptor serverDescriptor = serverResolver.getClassDescriptor(id
                        .getEntityName());

                clientObjects.add(op.detach(object, serverDescriptor, prefetchTree));
            }
        }

        return clientObjects;
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.OpenJPAEntityManager.detach()

    public void testDetachCopy() {
        OpenJPAEntityManager em = emf.createEntityManager();
        LRSEntity lrs = em.find(LRSEntity.class, id);
        assertLRS(lrs, "lrs");
        lrs = em.detach(lrs);
        assertEquals("lrs", lrs.getName());
        assertNull(lrs.getLRSList());
        em.close();
        assertMerge(lrs);
    }
View Full Code Here

Examples of org.apache.tapestry.IPage.detach()

        IPage page = newPage();
        ListenerFixture l = new ListenerFixture();

        // Code path: no listener list

        page.detach();

        page.addPageDetachListener(l);

        page.detach();
View Full Code Here

Examples of org.apache.tuscany.sca.assembly.builder.impl.CompositeBuilderImpl.detach()

                composite.getComponents().remove(toRemove);
                CompositeActivatorImpl impl = (CompositeActivatorImpl) compositeActivator;
                impl.stop(toRemove);
                impl.deactivateComponent(toRemove);
                CompositeBuilderImpl builder = (CompositeBuilderImpl) compositeBuilder;
                builder.detach(composite, toRemove);
            } catch (Exception e) {
                throw new CompositeUpdaterException(
                        "Cannot remove composite from the contribution"
                                + contribURI);
            }
View Full Code Here

Examples of org.apache.wicket.Component.detach()

    if (object instanceof Component)
    {
      // clone to not detach the original component (WICKET-5013, 5014)
      Component clone = (Component) cloneObject(object);
      clone.detach();

      target = clone;
    }
    else if (object instanceof IDetachable)
    {
View Full Code Here

Examples of org.apache.wicket.Page.detach()

    {
      final Component component = iterator.next();
      final Page parentPage = component.findParent(Page.class);
      if (parentPage != null)
      {
        parentPage.detach();
        break;
      }
    }
  }
View Full Code Here

Examples of org.apache.wicket.RequestCycle.detach()

      link.onClick(target);

      // process the request target
      target.respond(requestCycle);
      requestCycle.detach();
    }
    // AjaxFallbackLinks is processed like an AjaxLink if isAjax is true
    // If it's not handling of the linkComponent is passed through to the
    // Link.
    else if (linkComponent instanceof AjaxFallbackLink && isAjax)
View Full Code Here

Examples of org.apache.wicket.behavior.Behavior.detach()

          final Behavior behavior = tagBehaviors.next();
          if (behavior.isEnabled(this))
          {
            behavior.onComponentTag(this, tag);
          }
          behavior.detach(this);
        }
      }

      // Apply behavior modifiers
      List<? extends Behavior> behaviors = getBehaviors();
View Full Code Here

Examples of org.apache.wicket.behavior.IBehavior.detach()

          final IBehavior behavior = tagBehaviors.next();
          if (behavior.isEnabled(this))
          {
            behavior.onComponentTag(this, tag);
          }
          behavior.detach(this);
        }
      }

      // Write the tag
      tag.writeOutput(getResponse(), stripWicketTags, findMarkupStream().getWicketNamespace());
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.